--smol flag — memory-constrained runtime mode
bun --smol runs Bun with a smaller initial allocator footprint. Trades throughput for memory headroom.
Summary
bun --smol runs Bun with a smaller initial allocator footprint. Trades throughput for memory headroom.
Why backlog
Patties hasn't published a recommended deploy size yet. Default deploy targets (Cloudflare Workers, generic edge) handle the memory question themselves.
Trigger to promote to draft
A deploy adapter targets a memory-constrained runtime that the user can choose to opt into (e.g. tiny Fly VMs).
Bun-unique classification
Bun-only — Node has no equivalent runtime mode. --max-old-space-size is the opposite direction (upper bound, not lower-allocator tuning).
Open questions when promoted
- Does this go in
patties.config.tsas a deploy target option, or is it purely abunCLI flag users add themselves? - Edge adapter doesn't run Bun, so the flag is meaningless there.