optimization.
Everything we've published on optimization across guides, agents, hardware reviews and glossary entries — 7 entries in total.
Guides (7)
- Low-Memory Mode (--max-old-space-size)RAM · 2026-02-18
Configure V8 heap limit to prevent OOM kills on 1 GB Android device, starting at 384 MB and refined down to 112 MB.
- ESM Dead Module StubsRAM · 2026-02-18
Replace unused ESM channel SDKs with stub packages exporting empty classes, saving ~80 MB RAM and 262 MB disk.
- Lazy Loading v3 (Proxy-based deferred require)RAM · 2026-02-18
Defer 40 MB of module loading at startup using ES6 Proxy-based lazy require with 37 intercepted package prefixes.
- V8 Semi-Space 2 -> 1 MBRAM · 2026-02-18
Shrink V8 young generation semi-space from default to 1 MB, saving RAM on I/O-bound gateway with minimal GC overhead.
- UV_THREADPOOL_SIZE=1RAM · 2026-02-18
Reduce libuv thread pool from 4 to 1 on single-core ARM32, saving 2 MB RAM with zero performance impact.
- Merged Kill Loop (3 bash -> 1 bash)Desktop · 2026-02-18
Merge three separate background bash kill loops into a single loop, saving 3 MB RAM and reducing process count.
- kill-dalvik Cron (Auto-Free ~40 MB)Desktop · 2026-02-18
Cron job to periodically kill com.termux.boot Dalvik VM, freeing 40 MB while avoiding the cgroup cascade from killing com.termux.