{
  "id": 21613703,
  "title": "Collabora Online Sharply Reduces Server Memory Use With New Optimization",
  "url": "https://urgent.news/2026/11/24/collabora-online-sharply-reduces-server-memory-use-with-new",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-24T14:50:00.000Z",
  "source": {
    "name": "Phoronix",
    "slug": "phoronix",
    "url": "https://www.phoronix.com/news/Collabora-Online-Half-Memory"
  },
  "original_language": "en",
  "account": "Collabora Online has significantly reduced server memory usage through a new optimization technique. The issue arose from the forkit, which creates and discards numerous small objects like text snippets, lists, and settings. These objects leave behind gaps in memory that are not returned, resulting in scattered small gaps that memory allocators try to pack together for conservation. When the forkit loads its document, the initial small objects it creates directly fill these gaps. Since the gaps reside in a shared page with the forkit, writing even a few bytes there requires copying the entire page. Consequently, a small amount of new data can waste up to 4 KB of memory. To address this, the forkit now preallocates its gaps before creating the first kit. It reserves this space and avoids reusing it, allowing the kits it generates to find no gaps to reuse. Instead, they allocate fresh memory for their data, which is tightly packed into a few new pages. These pages remain shared with the forkit. Initially, this strategy might seem counterintuitive - the forkit allocates memory to save memory. However, the gaps themselves do not cost the forkit any memory, as they are within pages it has already allocated. This optimization can lead to significant memory savings on a busy server serving a thousand concurrent users, potentially saving 25 GB of RAM. This technique, which involves allocating more memory to optimize memory usage, can be beneficial for other processes utilizing copy-on-write (COW) to enhance their children's performance.",
  "summary": "The Collabora Online open-source web browser based office suite derived from LibreOffice is now able to use 50% less memory per document following an optimization to its copy-on-write memory handling...",
  "key_points": [
    "Collabora Online reduces server memory use by 25 GB on busy servers.",
    "New optimization preallocates gaps before creating first kit.",
    "Memory optimization technique beneficial for processes using copy-on-write."
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}