[0.15] RAM hogging with large sprites

Bugs that are actually features.
Nowhere
Manual Inserter
Manual Inserter
Posts: 4
Joined: Fri Nov 28, 2014 1:33 am
Contact:

[0.15] RAM hogging with large sprites

Post 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.
nuhll
Filter Inserter
Filter Inserter
Posts: 946
Joined: Mon Apr 04, 2016 9:48 pm
Contact:

Re: [0.15] RAM hogging with large sprites

Post by nuhll »

Just buy some RAM you need it.

I even have minecrat saves which need 16gb RAM only minecraft.
orzelek
Smart Inserter
Smart Inserter
Posts: 3924
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: [0.15] RAM hogging with large sprites

Post 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?
Loewchen
Global Moderator
Global Moderator
Posts: 9273
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.15] RAM hogging with large sprites

Post 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...
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.15] RAM hogging with large sprites

Post 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.
orzelek
Smart Inserter
Smart Inserter
Posts: 3924
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: [0.15] RAM hogging with large sprites

Post 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.
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.15] RAM hogging with large sprites

Post 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.
Post Reply

Return to “Not a bug”