mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-16 11:49:59 -04:00
The limit was only checked when a file was read, all or nothing, so a run could write a file the next start then dropped whole. On an RTX 5080 (0.9.2) pipeline-cache-play.bin reached 524.9 MB in one session and the next start began empty; pipeline-cache.bin grows 14-28 MB at each fold and crosses 512 MB within a few sessions. Now a fold is made only when its result fits, and a cache past the limit is not saved again, so the file keeps its last save under the limit. Unset, the limit is the RAM / 32 between 512 and 4096 MB (512 on 16 GB as before, 2048 on 64 GB), which on that PC took boot hits from 14 to 84 % and left no pipeline to background builds. Taken into the 0.10.0 line with its conflicts resolved: the line had raised the limit to 1024 MB and says why in the comment above cache_data_read, in nx2navi.ini.example and in AUDIT.md; those texts keep that reason and give the RAM-based default, whose floor the next commit raises to match.
7.4 KiB
7.4 KiB