It’s not your RAM, It’s usually the LUA Heap hitting its limit (game engine), you can increase it to 2gb (from 1). I had a MASSIVE inventory with no issues as I already had it to 2gb.
The console (error) logs would show the specific out of mem error sub-type as there are many under the generic “Out of mem” header.
See Out of Memory Crash - #9 by gpkgpk and try it.