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.ts as a deploy target option, or is it purely a bun CLI flag users add themselves?
  • Edge adapter doesn't run Bun, so the flag is meaningless there.