Forum
Forum >
Bug reports
>
Topic: Canvases with many texts use many times more memory than it was in beta versions.
The same canvases in full view and with Cache on disk setting:
PureRef 2.0.0.beta8:
New canvas with 105kb of text - 45mb memory.
Canvas 1, with many texts - 791mb memory.
Canvas 2, with many texts - 967mb.
Canvas 3, few texts - 345mb.
PureRef 2.0.2:
New canvas with 105kb of text - 606mb memory.
Canvas 1 - 4,832mb memory.
Canvas 2 - 5,566mb.
Canvas 3 - 670mb.
Edited 1 time(s). Last edit at 2024-09-09 15:56 by Metasa.
Thank you for the report. We did make some changes to improve rendering performance but it might have come at a larger memory cost than we thought. Are you able to share any of the big scenes so we can take a look? Do you notice any performance difference when navigating the scene between the 2 versions?
> Are you able to share any of the big scenes so we can take a look?
Sorry, cannot.
> Do you notice any performance difference when navigating the scene between the 2 versions?
Not really. Perhaps, newer one have more lags during abrupt moves of camera.
I want to offer a few probable solutions:
1. Setting or menu mode "Text low memory mode." Everything works as in previous versions, but with re-caching of fonts every few minutes. And with possibility to re-caching them manually, by menu button.
2. Alternative - possibility to mark text which PureRef will not display and hash until they would be highlighted or clicked by user.
3. Implementation of unloadable tabs as suggested here - https://www.pureref.com/forum/read.php?3,4477
This allows to divide large canvases into text and non-text ones, where text one will be cached and de-cached according to the tab activation conditions. Some will be cashed constantly, some will be cleared from memory immediately after switch to other tab.