Page 1 of 1

Icongenerator runs out of memory after generating 10 buildpics

Posted: 17 Mar 2016, 11:25
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?

Re: Icongenerator runs out of memory after generating 10 buildpics

Posted: 17 Mar 2016, 11:31
by Silentwings
viewtopic.php?f=44&t=33563&start=20#p572987
Thoughts? Suggestions? Solution?
Fix the icon generator!

Re: Icongenerator runs out of memory after generating 10 buildpics

Posted: 17 Mar 2016, 12:35
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.

Re: Icongenerator runs out of memory after generating 10 buildpics

Posted: 17 Mar 2016, 15:54
by Beherith

Re: Icongenerator runs out of memory after generating 10 buildpics

Posted: 17 Mar 2016, 22:19
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.