Icongenerator runs out of memory after generating 10 buildpics

Icongenerator runs out of memory after generating 10 buildpics

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

Post Reply
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Icongenerator runs out of memory after generating 10 buildpics

Post by Forboding Angel »

Relevant portions of the infolog

Code: Select all

[f=0000431] Wait until current process is finished
[f=0000431] buildicons/_1to1_128x128
[f=0000431] Error: gl.ActiveFBO: error(2) = [string "LuaRules/Gadgets/unit_icongenerator.lua"]:734: Incorrect arguments to gl.Color()
[f=0000431] Error: LuaRules::RunCallIn: error = 2, DrawGenesis, [Internal Lua error: Call failure] [string "LuaRules/Gadgets/unit_icongenerator.lua"]:734: Incorrect arguments to gl.Color()
[f=0000446] Error: gl.ActiveFBO: error(2) = [string "LuaRules/Gadgets/unit_icongenerator.lua"]:734: Incorrect arguments to gl.Color()
[f=0000446] Error: LuaRules::RunCallIn: error = 2, DrawGenesis, [Internal Lua error: Call failure] [string "LuaRules/Gadgets/unit_icongenerator.lua"]:734: Incorrect arguments to gl.Color()
[f=0000461] Error: gl.ActiveFBO: error(2) = [string "LuaRules/Gadgets/unit_icongenerator.lua"]:734: Incorrect arguments to gl.Color()
[f=0000461] Error: LuaRules::RunCallIn: error = 2, DrawGenesis, [Internal Lua error: Call failure] [string "LuaRules/Gadgets/unit_icongenerator.lua"]:734: Incorrect arguments to gl.Color()
[f=0000476] Error: gl.ActiveFBO: error(2) = [string "LuaRules/Gadgets/unit_icongenerator.lua"]:734: Incorrect arguments to gl.Color()
[f=0000476] Error: LuaRules::RunCallIn: error = 2, DrawGenesis, [Internal Lua error: Call failure] [string "LuaRules/Gadgets/unit_icongenerator.lua"]:734: Incorrect arguments to gl.Color()
[f=0000491] Error: gl.ActiveFBO: error(2) = [string "LuaRules/Gadgets/unit_icongenerator.lua"]:734: Incorrect arguments to gl.Color()
[f=0000491] Error: LuaRules::RunCallIn: error = 2, DrawGenesis, [Internal Lua error: Call failure] [string "LuaRules/Gadgets/unit_icongenerator.lua"]:734: Incorrect arguments to gl.Color()
[f=0000506] Error: gl.ActiveFBO: error(2) = [string "LuaRules/Gadgets/unit_icongenerator.lua"]:734: Incorrect arguments to gl.Color()
[f=0000506] Error: LuaRules::RunCallIn: error = 2, DrawGenesis, [Internal Lua error: Call failure] [string "LuaRules/Gadgets/unit_icongenerator.lua"]:734: Incorrect arguments to gl.Color()
[f=0000521] Error: gl.ActiveFBO: error(2) = [string "LuaRules/Gadgets/unit_icongenerator.lua"]:734: Incorrect arguments to gl.Color()
[f=0000521] Error: LuaRules::RunCallIn: error = 2, DrawGenesis, [Internal Lua error: Call failure] [string "LuaRules/Gadgets/unit_icongenerator.lua"]:734: Incorrect arguments to gl.Color()
[f=0000536] Error: gl.ActiveFBO: error(2) = [string "LuaRules/Gadgets/unit_icongenerator.lua"]:734: Incorrect arguments to gl.Color()
[f=0000536] Error: LuaRules::RunCallIn: error = 2, DrawGenesis, [Internal Lua error: Call failure] [string "LuaRules/Gadgets/unit_icongenerator.lua"]:734: Incorrect arguments to gl.Color()
[f=0000551] Error: gl.ActiveFBO: error(2) = [string "LuaRules/Gadgets/unit_icongenerator.lua"]:734: Incorrect arguments to gl.Color()
[f=0000551] Error: LuaRules::RunCallIn: error = 2, DrawGenesis, [Internal Lua error: Call failure] [string "LuaRules/Gadgets/unit_icongenerator.lua"]:734: Incorrect arguments to gl.Color()
[f=0000566] Error: gl.ActiveFBO: error(2) = [string "LuaRules/Gadgets/unit_icongenerator.lua"]:734: Incorrect arguments to gl.Color()
[f=0000566] Error: LuaRules::RunCallIn: error = 2, DrawGenesis, [Internal Lua error: Call failure] [string "LuaRules/Gadgets/unit_icongenerator.lua"]:734: Incorrect arguments to gl.Color()
[f=0000581] Fatal: LuaRules: cannot allocate more memory! (805308045 bytes already used, 805306368 bytes maximum)
[f=0000581] Error: gl.ActiveFBO: error(4) = not enough memory
[f=0000581] Error: LuaRules::RunCallIn: error = 2, DrawGenesis, [Internal Lua error: Call failure] not enough memory
[f=0000581] Fatal: LuaUI: cannot allocate more memory! (805308045 bytes already used, 805306368 bytes maximum)
[f=0000581] Fatal: LuaUI: cannot allocate more memory! (805308045 bytes already used, 805306368 bytes maximum)
[f=0000581] Error: LuaUI::RunCallIn: error = 4, DrawWorldPreUnit, [Internal Lua error: Call failure] not enough memory
[f=0000592] Fatal: LuaRules: cannot allocate more memory! (805306388 bytes already used, 805306368 bytes maximum)
[f=0000592] Error: gl.ActiveFBO: error(4) = not enough memory
[f=0000592] Error: LuaRules::RunCallIn: error = 2, DrawGenesis, [Internal Lua error: Call failure] not enough memory
[f=0000592] Fatal: LuaRules: cannot allocate more memory! (805306388 bytes already used, 805306368 bytes maximum)
[f=0000592] Error: LuaRules::RunCallIn: error = 4, DrawWorld, [Internal Lua error: Call failure] not enough memory
[f=0000593] Warning: LuaRules stack check: top = 2
There were posts about this in another thread about something else. I seem to remember behe running into this issue. Did anyone ever find a solution? I checked out toolbox but most of the stuff in it is at least 4 years old.

Thoughts? Suggestions?
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: Icongenerator runs out of memory after generating 10 buildpics

Post by Silentwings »

viewtopic.php?f=44&t=33563&start=20#p572987
Thoughts? Suggestions? Solution?
Fix the icon generator!
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Re: Icongenerator runs out of memory after generating 10 buildpics

Post by gajop »

You've seen this I think (UI on the right side). It's possible to just render them ingame (via widget), although I haven't perfected the method yet.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Icongenerator runs out of memory after generating 10 buildpics

Post by Forboding Angel »

I set it to 5 seconds and it seems to be working fine. Thanks for the script :-) I love the fact that it gives you progress updates.
Post Reply

Return to “Lua Scripts”