Page 1 of 1

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

Posted: Wed Jul 31, 2024 1:39 am
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.

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

Posted: Thu Aug 01, 2024 3:06 pm
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.