[1.7.4] Out of Memory issues (only linux so far)

Make all T-Engine/ToME 4 bug reports here

Moderator: Moderator

Post Reply
Message
Author
qoreQyaS
Posts: 3
Joined: Thu Feb 09, 2023 10:09 am

[1.7.4] Out of Memory issues (only linux so far)

#1 Post by qoreQyaS »

moin,

every now and then (it's not really reproducable here) the game throws an OOM error when loading a game or starting a new one (right after the bar reaches 100%)
on discord at least two other people said they also have OOM issues and this is new.
at my machine they occured with and without addons ("without" here means with item vault and possessors cause they came with the default install on steam).
i have 10gig (plus 16gig swap) available for the game on linux.
here are all the errors i was able to log:

Code: Select all

ERROR:
Game version: tome-1.7.4
Addons: items-vault-1.7.0[O], possessors-1.7.4[O]

Lua Error: /engine/utils.lua:2475: not enough memory
  At [C]:-1 
  At [C]:-1 error
  At /engine/utils.lua:2475 loadfilemods
  At /engine/Birther.lua:54 loadDefinition
  At /mod/class/PossessorsDLC.lua:34 
  At [string "return function(l, self, data) local ok=false..."]:1 triggerHook
  At /mod/load.lua:267 
  At [C]:-1 require
  At /engine/Module.lua:161 load
  At /engine/Module.lua:1084 instanciate
  At /engine/utils.lua:2999 showMainMenu
  At /engine/init.lua:207 
  At [C]:-1 dofile
  At /loader/init.lua:217 

Code: Select all

ERROR:
Game version: tome-1.7.4
Addons: items-vault-1.7.0[O], possessors-1.7.4[O]

Lua Error: /engine/Tiles.lua:39: not enough memory
  At [C]:-1 
  At [C]:-1 error
  At /engine/Tiles.lua:39 loadTileset
  At /mod/load.lua:226 
  At [C]:-1 require
  At /engine/Module.lua:161 load
  At /engine/Module.lua:1084 instanciate
  At /engine/utils.lua:2999 showMainMenu
  At /engine/init.lua:207 
  At [C]:-1 dofile
  At /loader/init.lua:217 

Code: Select all

ERROR:
Game version: tome-1.7.4
Addons: items-vault-1.7.0[O], possessors-1.7.4[O]

Lua Error: /engine/Tiles.lua:44: not enough memory
  At [C]:-1 
  At [C]:-1 error
  At /engine/Tiles.lua:44 loadTileset
  At /mod/load.lua:226 
  At [C]:-1 require
  At /engine/Module.lua:161 load
  At /engine/Module.lua:1084 instanciate
  At /engine/utils.lua:2999 showMainMenu
  At /engine/init.lua:207 
  At [C]:-1 dofile
  At /loader/init.lua:217 

Code: Select all

ERROR:
Game version: tome-1.7.4
Addons: items-vault-1.7.0[O], PlenumTooltip-1.5.0[X!], faster_rre-1.0.6[X!], possessors-1.7.4[O], zomnibus-1.7.4[X], better_item_desc-1.7.4[X]

Lua Error: /engine/utils.lua:2475: not enough memory
  At [C]:-1 
  At [C]:-1 error
  At /engine/utils.lua:2475 loadfilemods
  At /engine/interface/ActorTalents.lua:42 loadDefinition
  At /engine/interface/ActorTalents.lua:40 load
  At /data/talents/gifts/gifts.lua:212 f
  At /engine/interface/ActorTalents.lua:44 loadDefinition
  At /engine/interface/ActorTalents.lua:40 load
  At /data/talents.lua:304 f
  At /engine/interface/ActorTalents.lua:44 loadDefinition
  At /mod/load.lua:174 
  At [C]:-1 require
  At /engine/Module.lua:161 load
  At /engine/Module.lua:1084 instanciate
  At /engine/utils.lua:2999 showMainMenu
  At /engine/init.lua:207 
  At [C]:-1 dofile
  At /loader/init.lua:217 
Last edited by qoreQyaS on Sat Feb 11, 2023 5:23 pm, edited 1 time in total.

Moasseman
Archmage
Posts: 358
Joined: Thu Sep 26, 2019 4:32 pm

Re: [1.7.4] Out of Memory issues

#2 Post by Moasseman »

So far this seems to be affecting solely Linux users.

If anyone using Windows runs into the Out of Memory issue, please holler
Friendly Neighbourhood Moderator, moan at me for a teleport if ya get stuck.

Bananadine
Halfling
Posts: 91
Joined: Wed Mar 25, 2009 3:27 pm

Re: [1.7.4] Out of Memory issues (only linux so far)

#3 Post by Bananadine »

I'm getting loads of these, also on Linux. I have 16 GB RAM and just now I was getting the error with (seemingly) about 10 GB available for ToME. I ordered another 16 GB solely for this game, but who knows whether it'll actually help! Maybe I'll report back once it arrives. Anyway, can't hurt to have more RAM I guess, even if it doesn't help.

Moasseman
Archmage
Posts: 358
Joined: Thu Sep 26, 2019 4:32 pm

Re: [1.7.4] Out of Memory issues (only linux so far)

#4 Post by Moasseman »

LuaJIT used by t-engine4 can't use more than 4GB anyway, so as long as you got at least 8GB physical memory, it should be fine. What distro are you using?
Friendly Neighbourhood Moderator, moan at me for a teleport if ya get stuck.

Bananadine
Halfling
Posts: 91
Joined: Wed Mar 25, 2009 3:27 pm

Re: [1.7.4] Out of Memory issues (only linux so far)

#5 Post by Bananadine »

UPDATE: I just got another not-enough-memory error with my new 32 GB RAM setup. Guess it's time to jump to 64 GB! (I am joking.)

I am using Arch Linux.

Moasseman
Archmage
Posts: 358
Joined: Thu Sep 26, 2019 4:32 pm

Re: [1.7.4] Out of Memory issues (only linux so far)

#6 Post by Moasseman »

For the record, your physical memory amount won't really matter as the LuaJIT t-engine4 uses is limited to 4GB anyway
Friendly Neighbourhood Moderator, moan at me for a teleport if ya get stuck.

Bananadine
Halfling
Posts: 91
Joined: Wed Mar 25, 2009 3:27 pm

Re: [1.7.4] Out of Memory issues (only linux so far)

#7 Post by Bananadine »

Well maybe I was using most of my 16 GB on other software somehow and so ToME couldn't even get that 4 GB. Or who knows what. But now I guess it's relatively clear that a physical memory limit isn't the issue, yeah. Anyway, I hope it's fixed soon.

Post Reply