#OOM error at 16GB, but I have 32GB RAM + 64GB swap

1 messages · Page 1 of 1 (latest)

finite robin
#

Console log and more details posted at https://github.com/beyond-all-reason/BYAR-Chobby/issues/365 which I've since been told isn't the appropriate place to post such an issue.

I've played a couple of games since and haven't encountered the issue again, so I don't have a reproducible way to trigger this CTD just yet

GitHub

But it was only using half my RAM (16 out of 32G, and I've also got 64G swap)? Is there some 16G internal limit I could tweak? Was just playing single-player skirmish with 4 bots on a large map...

warm robin
#

This is Lua OOM, which is allocated by game and has "only" 1.5GB (or 3GB, i'm not sure).
An infolog is required to determine conditions that could lead to such situation

#

-uplog

warm robin
#

and post created link here.
Or you should be able to find proper log in /home/<user>/Documents/Beyond All Reason/log/
Also replay may speed-up bug detection. (added too many lua AIs? used non-standard widgets or maps? etc.)

finite robin
#

Where it says Fatal: [spring_lua_alloc_log_error][handle=LuaRules][OOM] synced=1 {alloced,maximum}={1610612786,1610612736}bytes; where does that ~1.6GB maximum come from?

junior cargo
#

where does that ~1.6GB maximum come from?
Hardcoded engine safety net.

#

if you hit it, it's most likely our fault

alpine nacelle
#

I also have sometimes this OOM error on Linux (16Gbyte+8 Gbyte Swapfile today), but only when i try to play older replays when the game duplicate itself because it needs a seperate older launcher to play the outdated replay version. Htop showned me, that this game not really care about my Swapfile and extended swap from 4 to 8GB still let it crash in this cases.

#

@finite robin i hope you know the reisub trick, to free your Ram and stop the system from freezing into death. Atleast i know how to activate it under Manjaro Linux.

finite robin
#

No system lockup, BAR just CTD and the rest of my system was totally fine - no need for sysrq keys 😛

#

@junior cargo heh well if I hit that literally the first time I tried BAR and you say it's BAR devs' fault, perhaps it needs a little more attention 😛

junior cargo
warm robin
#

imho it was good old SimpleAI + metalmap setup

finite robin
#

Hmm so SimpleAI is memory-inefficient or leaks? Guess I'll just use the other one