Allocate memory to save memory: 50% less memory per document
Collabora Online explains how filling memory gaps in its forkit process before launching individual document kits drastically reduces memory duplication caused by Linux Copy-On-Write behavior. By reserving space that was previously left as scattered small gaps, the technique prevents child processes from unnecessarily duplicating parent pages. In tests, this approach reduced memory usage per document by 30% to 55%, saving up to 25 GB of RAM on busy servers supporting a thousand concurrent users. Open article →