Page 1 of 1

[0.15] RAM hogging with large sprites

Posted: Mon Apr 24, 2017 7:39 pm
by Nowhere
My system isn't at the top end but it's certainly above the minimum requirements and almost on par with the recommended specs.

The game loaded just fine via Steam after updating and disabling cloud sync. I went to the options and set the sprite resolution to large and then resterted the game.

The client starts loading sprites and while it does, the process' RAM usage starts to grow until it occupies all the free memory in my system (around 2 GB out of 4 GB total). The loading process grinds to a halt around 89% and obviously makes the system almost unusable.

Re: [0.15] RAM hogging with large sprites

Posted: Mon Apr 24, 2017 7:40 pm
by nuhll
Just buy some RAM you need it.

I even have minecrat saves which need 16gb RAM only minecraft.

Re: [0.15] RAM hogging with large sprites

Posted: Mon Apr 24, 2017 8:54 pm
by orzelek
Almost empty map and high graphic preset uses around 2GB of RAM and 1.9GB of VRAM for me. Is it possible that sprites are kept also in RAM for some reason?

Re: [0.15] RAM hogging with large sprites

Posted: Mon Apr 24, 2017 9:11 pm
by Loewchen
Can not test yet, but the HD sprites take 1.8GB right from the beginning, that would mean the rest of the game would take 2GB of RAM which does not sound completely unreasonable to me, .14 took 1.2 with no maps loaded...

Re: [0.15] RAM hogging with large sprites

Posted: Mon Apr 24, 2017 9:28 pm
by kovarex
All the sprites are kept in video memory and ram.
The high resolution option is there just for users with enough of ram and video memory. 4GB RAM certainly isn't enough for the high resolution option.

Re: [0.15] RAM hogging with large sprites

Posted: Mon Apr 24, 2017 9:35 pm
by orzelek
Any chance for the game to unload the RAM part when video memory usage is set to all?
Seems like serious waste of memory especially that sprites will increase in size with more HD parts addded.

Re: [0.15] RAM hogging with large sprites

Posted: Mon Apr 24, 2017 9:49 pm
by kovarex
orzelek wrote:Any chance for the game to unload the RAM part when video memory usage is set to all?
Seems like serious waste of memory especially that sprites will increase in size with more HD parts addded.
It is needed as the VRAM content is thrown away whenever you alt tab away for example. The game needs a way to refresh this data.