mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-11 20:01:43 +00:00
Each document's undo history drops its oldest steps once they keep more memory than a budget. The engine read the installed memory only on Linux, so the budget was 1 GiB on Windows, macOS and FreeBSD, and an eighth of the memory, at most 1 GiB, on Linux. The default budget is now a quarter of the installed memory, with no fixed ceiling and at least 64 MiB, read with the image store's reader, which vectorcraft-render now exports as physical_memory. It stays 1 GiB where the memory can't be read and 256 MiB in the web build, and a 32-bit build keeps at most a quarter of its address space. Docs: docs/target-app-parity.md.