Now the game uses more than 72GB of memory.
My friends can't join my game because they don't have enough memory (he has 32GB of memory)
I started with 32GB of RAM, Saving and loading archives is very slow. So I added 2 sticks of 32gb RAM for a total of 96GB, This significantly reduces save and load times. When I added the memory, it took up about 50GB, and after a while, it is now about 72GB. If memory usage continues to increase, I won't be able to play.I want to know what is causing the memory footprint, so I try to delete everything I know.
I took the following steps to remove them:
1. I used the /editor command to manually delete my factorys
2. I used the following command to remove the chunks
Code: Select all
/c local surface = game.player.surface;
game.player.force.cancel_charting(surface);
for chunk in surface.get_chunks() do
if (chunk.x < -1 or chunk.x > 1 or chunk.y < -1 or chunk.y > 1) then
surface.delete_chunk(chunk)
end
end
The problem didn't get any better, though, and it still took up around 72GB of my memory
save files: https://drive.google.com/file/d/1tOb-Rc ... sp=sharing
log: https://drive.google.com/file/d/1mrWdsJ ... sp=sharing