-
Notifications
You must be signed in to change notification settings - Fork 81
Game process runs out of adressable memory #55
Description
Dear @alinmear
When using mods who pile up to more than 8GB RAM allocation, the game dies after a short time unable to claim more than roughly 8GB RAM, even on hosts than have more RAM with no limitations in place sides docker or the OS.
this is that the logs look like (it dies after this shown warning, struggling to allocate more):
https://imgur.com/QZBEcK5
well this kept us busy some time with out server after we recently chose to switch to AoC with our community server. the server died off reproducably and we could not find the issue, even the hoster shrugged it off, guaranteed that our machine really has 16GB ;) and we even tried on an other hoster with different infrastructure and still it died like that.
I´m not sure what it is, couldn´t find any clues but something in this container seems to have serious issues in either memory management or bitness ;) or at least you´ll have a clue.
how to reproduce? just add this modlist and start it up. give it some time, it will take rougly 20mins to die, uhh to start up. watch the RAM allocation grow to 7.63GB via htop, that is the moment it rips on most occasions.
"CONANEXILES_MODS=880454836,1159180273,2050780234,1701136207,2483184203,1629644846,2424793128,864199675,1369743238,1639336393,1938352194,1846399420,1113901982,1734383367,2447889148"
also we use 60hz
"CONANEXILES_Engine_/script/onlinesubsystemutils.ipnetdriver_NetServerMaxTickRate=60"
I know its many mods and less would be better, but in theory it should not die of OOM. at this moment i cannot exclude some memory leakage in the mods or issues with the constellations, but still it should at least die OOM at higher yields than half the available resources. its the only thing than ran on this server. and of course we don´t know what we´re doing with this but there is not much thing to fail with asides from having the correct mod order (which we do or at least in a relative way, but it doesn´t really matter since it dies in different orders and combinations in the same way).
we ran it on a 4 cpu 16gb ram intel xeon server with ssd with ubuntu 20.04, latest docker and compose installs.
thank you so much for looking into this, like in the movies: you´re our only hope!
until then we´ll live without AoC and love your software, thanx!
edit: minor detailing, typos, address <3