mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-30 12:47:13 -06:00
A layered .ai or Illustrator EPS whose editing data (embedded rasters, mostly) unpacks past 512 MiB opened as its PDF part or printed page, in one layer, with "it decompresses to more than 512 MB" (#4628 on 0.17.0 hit the older 256 MiB limit the same way). The limit is now an eighth of installed memory, from 512 MiB (what every 64-bit build read before) to 2 GiB: 1 GiB on an 8 GiB machine, 2 GiB on 16 GiB or more. Reading takes about as much memory again as the data (1.1 GB of data with 24 embedded 4096 x 4096 images peaked 1.1 GB above the start), so the ceiling keeps a small file that unpacks without end from taking a large machine's memory. 32-bit and web builds keep 256 MiB. vectorcraft_render::installed_memory exposes the reading the image cache already sizes itself from.