Every time I use Psychic Crush, Unleashed Mind, or successfully Possess a creature, the game freezes for a little longer, and it takes a little longer to save or load the save. At character level 14, after clearing 5 dungeons I got an 'out of memory' error message (that I sent) and could no longer save. game.teag is bloated to 47.6 MB.
(Unrelated bug that should maybe get it's own thread, some artifact an enemy was wearing turned my Doomed's Shadow into a horror, turned the thing hostile and it stayed on my party list forever after. And the fortress doesn't gain energy.)
Error is:
##Use Talent Lua Error## T_ATTACK Actor: 425920 fox
Lua Error: /engine/interface/ActorTalents.lua:326: /engine/interface/ActorTalents.lua:299: /engine/interface/ActorTalents.lua:164: not enough memory
At [C]:-1
At [C]:-1 error
At /engine/interface/ActorTalents.lua:326 useTalent
At /mod/class/interface/Combat.lua:37 attack
At /engine/interface/ActorLife.lua:42 check
At [string "return function(self, x, y, what, ...) local ..."]:1 checkAllEntities
At /engine/Actor.lua:243 move
At /mod/class/Actor.lua:1377 moveDirection
At /engine/ai//simple.lua:144
At /mod/class/interface/ActorAI.lua:70 runAI
At /engine/ai//simple.lua:223
At /mod/class/interface/ActorAI.lua:70 runAI
At /mod/ai//improved_talented.lua:66
At /mod/class/interface/ActorAI.lua:70 doAI
At /mod/class/NPC.lua:77 act
At /engine/GameEnergyBased.lua:129 tickLevel
At /engine/GameEnergyBased.lua:64 tick
At /engine/GameTurnBased.lua:51 tick
At /mod/class/Game.lua:1523
Some kind of memory leak or something on Possessor
Moderator: Moderator
Re: Some kind of memory leak or something on Possessor
Beta 6, I'm no longer getting crash messages, but eventually it still lags, and saving still gets disabled.
Re: Some kind of memory leak or something on Possessor
I'm encountering the same problem in b6: error message, lag, and eventual failure to save. The lag/save issue can happen without the error message occurring.
It seems like closing ToME and reopening it clears the memory leak.
It seems like closing ToME and reopening it clears the memory leak.
Re: Some kind of memory leak or something on Possessor
Ah thanks andersmj for the ingo on restart; I think I know the problem then 

[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning

-
- Posts: 4
- Joined: Mon Dec 15, 2014 6:21 pm
Re: Some kind of memory leak or something on Possessor
Version 1.6.6, having exactly the issue Drazhya described minus the error messages (increasingly long lag spikes, saving, resulting eventually in an inability to load the save at all) with the same skills. Game.teag sitting at 67.2MB, various zone saves look larger than normal (25.4MB zone-town-lumberjack-village.teaz for instance).
Happy to provide any files you'd like, tried game.teag but the forums rejected its extension.
Happy to provide any files you'd like, tried game.teag but the forums rejected its extension.