[1.1.109] delete-blueprint-library doesn't free up ram on linux

This subforum contains all the issues which we already resolved.
Atraps003
Long Handed Inserter
Long Handed Inserter
Posts: 93
Joined: Thu Jan 04, 2018 6:34 am
Contact:

[1.1.109] delete-blueprint-library doesn't free up ram on linux

Post by Atraps003 »

Running command /delete-blueprint-library everybody confirm on a map with a big offline player blueprint library does not reduce ram usage on linux.

Load attached map on headless linux.
Connect windows factorio to linux factorio server.
Run /delete-blueprint-library everybody confirm
Ram usage of factorio on windows immediately decreases from ~8gb to ~3gb. Ram usage of factorio on linux stays the same unless save is reloaded.

I tested non headless linux and it appears to have the same behavior as headless.
Attachments
_autosave100.zip
(32.95 MiB) Downloaded 28 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 14403
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [1.1.109] delete-blueprint-library doesn't free up ram on linux

Post by Rseding91 »

Thanks for the report. This is related to how linux programs manage memory (it will not release memory back to the OS unless you explicitly ask it to). I added the explicit request when deleting blueprint libraries for 2.0.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”