[Crash] Beta 3 - Out of Memory

Out of Memory on a 6 GB machine

I got this fatal error while connecting to a game. Never seen this in 2D.

Unhandled exception:

failed to load "/lua/debug/EngineStats.lua" module
stack traceback:

Program : C:\Program Files (x86)\Stardock Games\Demigod\bin\Demigod.exe
Cmd line arguments :

Callstack:
    unavailable.

Last 100 lines of log...

A full record of the log is stored in the Demigodlog.txt file

info: LOBBY: Discovery reply from adsl-85-217-5-171.kotinet.com:0 timed out.
info: LOBBY: Refreshing Available Games List from Impulse.
warning: Error running GameUpdated script in CScriptObject at 324e5000: ModifyItem: index 2 out of range; must be < 2
info: LOBBY: Discovery reply from 216-82-221-170.dyn.grandenetworks.net:0 timed out.
info: LOBBY: Refreshing Available Games List from Impulse.
warning: Error running GameFound script in CScriptObject at 324e5000: ModifyItem: index 2 out of range; must be < 2
info: LOBBY: Discovery reply from 122x221x252x85.ap122.ftth.ucom.ne.jp:0 timed out.
info: LOBBY: Discovery reply from 207-118-17-58.stat.centurytel.net:0 timed out.
info: LOBBY: Refreshing Available Games List from Impulse.
warning: Error running GameUpdated script in CScriptObject at 324e5000: ModifyItem: index 0 out of range; must be < 0
info: LOBBY: Refreshing Available Games List from Impulse.
warning: Error running GameUpdated script in CScriptObject at 324e5000: ModifyItem: index 0 out of range; must be < 0
info: LOBBY: Refreshing Available Games List from Impulse.
warning: Error running GameUpdated script in CScriptObject at 324e5000: ModifyItem: index 0 out of range; must be < 0
info: LOBBY: Refreshing Available Games List from Impulse.
warning: Error running GameUpdated script in CScriptObject at 324e5000: ModifyItem: index 0 out of range; must be < 0
info: LOBBY: Refreshing Available Games List from Impulse.
warning: Error running GameUpdated script in CScriptObject at 324e5000: ModifyItem: index 0 out of range; must be < 0
info: LOBBY: Refreshing Available Games List from Impulse.
warning: Error running GameUpdated script in CScriptObject at 324e5000: ModifyItem: index 0 out of range; must be < 0
info: LOBBY: Refreshing Available Games List from Impulse.
warning: Error running GameUpdated script in CScriptObject at 324e5000: ModifyItem: index 0 out of range; must be < 0
warning: Error running GameFound script in CScriptObject at 324e5000: ModifyItem: index 1 out of range; must be < 1
info: LOBBY: Refreshing Available Games List from Impulse.
warning: Error running GameUpdated script in CScriptObject at 324e5000: ModifyItem: index 1 out of range; must be < 1
info: LOBBY: Discovery reply from pool-70-111-113-98.nwrk.east.verizon.net:0 timed out.
info: LOBBY: Refreshing Available Games List from Impulse.
info: LOBBY: Discovery reply from cpe-098-025-220-107.sc.res.rr.com:0 timed out.
info: LOBBY: Refreshing Available Games List from Impulse.
info: LOBBY: Refreshing Available Games List from Impulse.
info: LOBBY: Refreshing Available Games List from Impulse.
info: LOBBY: Refreshing Available Games List from Impulse.
info: LOBBY: Discovery reply from c-68-52-159-22.hsd1.tn.comcast.net:0 timed out.
info: LOBBY: Discovery reply from c-24-6-215-109.hsd1.ca.comcast.net:0 timed out.
info: LOBBY: Refreshing Available Games List from Impulse.
warning: Error running GameFound script in CScriptObject at 324e5000: ...\stardock games\demigod\dgdata.zip\lua\maui\text.lua(143): attempt to perform arithmetic on field `?' (a nil value)
         stack traceback:
          ...\stardock games\demigod\dgdata.zip\lua\maui\text.lua(143): in function `GetColumnizedString'
          ... games\demigod\dgdata.zip\lua\ui\menus\join\join.lua(115): in function <... games\demigod\dgdata.zip\lua\ui\menus\join\join.lua:62>
          ... games\demigod\dgdata.zip\lua\ui\menus\join\join.lua(915): in function <... games\demigod\dgdata.zip\lua\ui\menus\join\join.lua:905>
info: LOBBY: Discovery reply from pool-173-79-185-85.washdc.fios.verizon.net:0 timed out.
info: LOBBY: Refreshing Available Games List from Impulse.
warning: Error running GameUpdated script in CScriptObject at 324e5000: ...\stardock games\demigod\dgdata.zip\lua\maui\text.lua(143): attempt to perform arithmetic on field `?' (a nil value)
         stack traceback:
          ...\stardock games\demigod\dgdata.zip\lua\maui\text.lua(143): in function `GetColumnizedString'
          ... games\demigod\dgdata.zip\lua\ui\menus\join\join.lua(115): in function <... games\demigod\dgdata.zip\lua\ui\menus\join\join.lua:62>
          ... games\demigod\dgdata.zip\lua\ui\menus\join\join.lua(930): in function <... games\demigod\dgdata.zip\lua\ui\menus\join\join.lua:929>
warning: Error running GameFound script in CScriptObject at 324e5000: ModifyItem: index 1 out of range; must be < 1
info: LOBBY: Refreshing Available Games List from Impulse.
info: LOBBY: Discovery reply from pool-98-114-146-187.phlapa.fios.verizon.net:0 timed out.
info: LOBBY: Discovery reply from pool-70-111-113-98.nwrk.east.verizon.net:0 timed out.
info: LOBBY: Refreshing Available Games List from Impulse.
warning: Error running GameFound script in CScriptObject at 324e5000: ...\stardock games\demigod\dgdata.zip\lua\maui\text.lua(143): attempt to perform arithmetic on field `?' (a nil value)
         stack traceback:
          ...\stardock games\demigod\dgdata.zip\lua\maui\text.lua(143): in function `GetColumnizedString'
          ... games\demigod\dgdata.zip\lua\ui\menus\join\join.lua(115): in function <... games\demigod\dgdata.zip\lua\ui\menus\join\join.lua:62>
          ... games\demigod\dgdata.zip\lua\ui\menus\join\join.lua(915): in function <... games\demigod\dgdata.zip\lua\ui\menus\join\join.lua:905>
warning: Error running GameFound script in CScriptObject at 324e5000: ModifyItem: index 1 out of range; must be < 1
info: LOBBY: Refreshing Available Games List from Impulse.
warning: Error running GameUpdated script in CScriptObject at 324e5000: ModifyItem: index 1 out of range; must be < 1
info: LOBBY: Refreshing Available Games List from Impulse.
info: LOBBY: Discovery reply from c-67-175-232-145.hsd1.il.comcast.net:0 timed out.
info: LOBBY: Refreshing Available Games List from Impulse.
info: LOBBY: Discovery reply from pool-98-114-146-187.phlapa.fios.verizon.net:0 timed out.
info: LOBBY: Refreshing Available Games List from Impulse.
info: LOBBY: Discovery reply from adsl-85-217-5-171.kotinet.com:0 timed out.
info: LOBBY: Refreshing Available Games List from Impulse.
info: LOBBY: Discovery reply from 97-117-127-154.slkc.qwest.net:0 timed out.
info: LOBBY: Refreshing Available Games List from Impulse.
info: LOBBY: Refreshing Available Games List from Impulse.
info: LOBBY: Refreshing Available Games List from Impulse.
info: LOBBY: Discovery reply from res33080119.rh.rit.edu:0 timed out.
info: LOBBY: Refreshing Available Games List from Impulse.
warning: Error running GameFound script in CScriptObject at 324e5000: ...\stardock games\demigod\dgdata.zip\lua\maui\text.lua(143): attempt to perform arithmetic on field `?' (a nil value)
         stack traceback:
          ...\stardock games\demigod\dgdata.zip\lua\maui\text.lua(143): in function `GetColumnizedString'
          ... games\demigod\dgdata.zip\lua\ui\menus\join\join.lua(115): in function <... games\demigod\dgdata.zip\lua\ui\menus\join\join.lua:62>
          ... games\demigod\dgdata.zip\lua\ui\menus\join\join.lua(915): in function <... games\demigod\dgdata.zip\lua\ui\menus\join\join.lua:905>
info: LOBBY: Discovery reply from ABayonne-151-1-51-84.w86-196.abo.wanadoo.fr:0 timed out.
info: LOBBY: Refreshing Available Games List from Impulse.
warning: Error running GameUpdated script in CScriptObject at 324e5000: ModifyItem: index 0 out of range; must be < 0
warning: Error running GameFound script in CScriptObject at 324e5000: ModifyItem: index 1 out of range; must be < 1
info: LOBBY: Refreshing Available Games List from Impulse.
warning: Error running GameFound script in CScriptObject at 324e5000: ModifyItem: index 2 out of range; must be < 2
info: LOBBY: Discovery reply from c-24-6-215-109.hsd1.ca.comcast.net:0 timed out.
info: LOBBY: Refreshing Available Games List from Impulse.
info: LOBBY: Discovery reply from user-1087v39.cable.mindspring.com:0 timed out.
info: LOBBY: Refreshing Available Games List from Impulse.
info: LOBBY: Refreshing Available Games List from Impulse.
info: LOBBY: Refreshing Available Games List from Impulse.
info: LOBBY: Refreshing Available Games List from Impulse.
info: LOBBY: Refreshing Available Games List from Impulse.
info: LOBBY: Refreshing Available Games List from Impulse.
warning: Error running GameFound script in CScriptObject at 324e5000: ...\stardock games\demigod\dgdata.zip\lua\maui\text.lua(143): attempt to perform arithmetic on field `?' (a nil value)
         stack traceback:
          ...\stardock games\demigod\dgdata.zip\lua\maui\text.lua(143): in function `GetColumnizedString'
          ... games\demigod\dgdata.zip\lua\ui\menus\join\join.lua(115): in function <... games\demigod\dgdata.zip\lua\ui\menus\join\join.lua:62>
          ... games\demigod\dgdata.zip\lua\ui\menus\join\join.lua(915): in function <... games\demigod\dgdata.zip\lua\ui\menus\join\join.lua:905>
warning: Error running GameFound script in CScriptObject at 324e5000: ModifyItem: index 2 out of range; must be < 2
info: LOBBY: Discovery reply from 76-218-60-73.lightspeed.irvnca.sbcglobal.net:0 timed out.
info: LOBBY: Refreshing Available Games List from Impulse.
warning: Error running GameUpdated script in CScriptObject at 324e5000: ModifyItem: index 1 out of range; must be < 1
info: LOBBY: Refreshing Available Games List from Impulse.
warning: Error running GameUpdated script in CScriptObject at 324e5000: ModifyItem: index 1 out of range; must be < 1
info: LOBBY: Refreshing Available Games List from Impulse.
warning: Error running GameUpdated script in CScriptObject at 324e5000: ModifyItem: index 1 out of range; must be < 1
info: LOBBY: Discovery reply from 85-127-141-212.dynamic.xdsl-line.inode.at:0 timed out.
info: LOBBY: Refreshing Available Games List from Impulse.
warning: Error running GameUpdated script in CScriptObject at 324e5000: ModifyItem: index 0 out of range; must be < 0
warning: Error running OnFrame script in CScriptObject at 212f1580: out of memory
warning: Error running OnFrame script in CScriptObject at 212f16c0: out of memory
warning: Error running OnFrame script in CScriptObject at 212f1bc0: out of memory
warning: Error running OnFrame script in CScriptObject at 27aab480: out of memory
warning: Error running OnFrame script in CScriptObject at 10b45880: out of memory
warning: Error running OnFrame script in CScriptObject at 10a12200: out of memory
warning: Error running OnFrame script in CScriptObject at 06491680: out of memory
warning: Error running OnFrame script in CScriptObject at 3321ce40: out of memory
warning: Error running OnFrame script in CScriptObject at 3321e8c0: out of memory
warning: Error running OnFrame script in CScriptObject at 410c4e80: out of memory
warning: Error importing /lua/debug/EngineStats.lua:
         out of memory

6,886 views 5 replies
Reply #1 Top

try increasing your virtual memory (google if you dont know how)

Reply #2 Top

I get this error 10 seconds after hosting a game, if I start the game fast enough everything is fine and this error doesn't show up. Never had this in previous betas.



________________________________________________________________________



EXCEPTION_ACCESS_VIOLATION (0xc0000005) at address 0x1005eca9
    attempted to read memory at 0x64e7a3c3

Program : C:\Program Files\Stardock Games\Demigod\bin\Demigod.exe
Cmd line arguments :

Callstack:
 TickCounter::QuerySystemTick + 71705 bytes ((Unknown)(0) + 0 bytes)

Last 100 lines of log...

A full record of the log is stored in the Demigodlog.txt file

info: *DEBUG: OnHide: \000false
info: *DEBUG: OnHide: \000true
debug: Loading module '\000/lua/ui/menus/mptournamentcomplete/mptournamentcomplete.lua\000'
debug: Loading module '\000/lua/ui/menus/mptournamentheroselect/mptournamentheroselect.lua\000'
warning: Error opening movie
debug: Loading module '\000/lua/ui/menus/options/options.lua\000'
debug: Loading module '\000/lua/maui/slider.lua\000'
debug: Loading module '\000/lua/options/module_keybinds.lua\000'
debug: Loading module '\000/lua/keymap/userbindablecommands.lua\000'
debug: Loading module '\000/lua/keymap/properkeynames.lua\000'
debug: Loading module '\000/lua/ui/menus/profile/profile.lua\000'
debug: Loading module '\000/lua/ui/menus/replays/replays.lua\000'
debug: Loading module '\000/lua/ui/menus/spsub/spsub.lua\000'
info: *DEBUG: OnHide: \000false
info: *DEBUG: OnHide: \000true
info: MUSIC : Activating cue [Main_Menu]
info: MUSIC : Activating cue [Main_Menu]
info: *DEBUG: OnHide: \000false
info: *DEBUG: OnHide: \000true
info: MUSIC : Activating cue [Main_Menu]
info: *DEBUG: OnHide: \000false
info: Connecting to Impulse LIVE Server.
info: Error from CVP. Reponse XML:
      <?xml version="1.0" encoding="utf-8"?><CVPGetApplicationInfoResponse><ResponseCode>0</ResponseCode><ResponseMessage>Success</ResponseMessage><ApplicationData><ID>444</ID><ApplicationID>dem</ApplicationID><RegistryKey>Demigod</RegistryKey><NetworkRegistryKey>Drengin.net</NetworkRegistryKey><Ver><Major>0</Major><Minor>90</Minor><Revision>021</Revision></Ver></ApplicationData></CVPGetApplicationInfoResponse>
info: *DEBUG: OnHide: \000true
info: MUSIC : Activating cue [Main_Menu]
info: *DEBUG: OnHide: \000false
info: CVP: entering idle state.
info: *DEBUG: OnHide: \000true
info: LOBBY: Refreshing Available Games List from Impulse.
info: LOBBY: Refreshing Available Games List from Impulse.
debug: Loading module '\000/lua/ui/dialogs/dialog_hostgame.lua\000'
debug: Loading module '\000/lua/ui/lobby/lobby.lua\000'
debug: Loading module '\000/lua/ui/lobby/lobbybase.lua\000'
debug: Loading module '\000/lua/mods.lua\000'
debug: Loading module '\000/lua/ui/dialogs/modmanager.lua\000'
debug: Loading module '\000/lua/gamecolors.lua\000'
debug: Loading module '\000/lua/ui/lobby/lobbyoptions.lua\000'
debug: Loading module '\000/lua/ui/dialogs/dialog_connecting.lua\000'
info: Creating connector on port 6073
info: LOBBY: Game port 6073[UDP] opened.
info: LOBBY: starting with local uid of 14168 [Tofi]
info: CVP: entering lobby state.
debug: Loading module '\000/lua/ui/controls/mappreview.lua\000'
info: Setting audio parameter 'UI_Not_Frontend' to value '1.000000'
info: MUSIC : Activating cue [Lobby]
debug: Loading module '\000/lua/ui/waitanim.lua\000'
info: Starting background task "Map loader /maps/map11/map11.scmap"
info: Background task "Map loader /maps/map11/map11.scmap" running.
info: Active game mods for blueprint loading: \000{ }
info: Loading blueprints...
info: Registering blueprints...
debug: Loading module '\000/characters/angel/angel_character.lua\000'
debug: Loading module '\000/characters/archer/archer_character.lua\000'
debug: Loading module '\000/characters/archer/archer_movie_character.lua\000'
debug: Loading module '\000/characters/bird/bird_character.lua\000'
debug: Loading module '\000/characters/ent/ent_character.lua\000'
debug: Loading module '\000/characters/flag/flag_character.lua\000'
debug: Loading module '\000/characters/giant/giant_character.lua\000'
debug: Loading module '\000/characters/giant/giant_r_character.lua\000'
debug: Loading module '\000/characters/highpriest/highpriest02_character.lua\000'
debug: Loading module '\000/characters/highpriest/highpriest03_character.lua\000'
debug: Loading module '\000/characters/highpriest/highpriest04_character.lua\000'
debug: Loading module '\000/characters/highpriest/highpriest_character.lua\000'
debug: Loading module '\000/characters/leopard_rider/leopard_rider_character.lua\000'
debug: Loading module '\000/characters/mage/mage_character.lua\000'
debug: Loading module '\000/characters/mage/magefire_character.lua\000'
debug: Loading module '\000/characters/minotaur/minotaur_character.lua\000'
debug: Loading module '\000/characters/minotaur/minotaur_movie1_character.lua\000'
debug: Loading module '\000/characters/minotaur/minotaur_movie2_character.lua\000'
debug: Loading module '\000/characters/minotaurcaptain/minotaurcaptain02_character.lua\000'
debug: Loading module '\000/characters/minotaurcaptain/minotaurcaptain03_character.lua\000'
debug: Loading module '\000/characters/minotaurcaptain/minotaurcaptain04_character.lua\000'
debug: Loading module '\000/characters/minotaurcaptain/minotaurcaptain_character.lua\000'
debug: Loading module '\000/characters/oak/oak_character.lua\000'
debug: Loading module '\000/characters/priest/priest_character.lua\000'
debug: Loading module '\000/characters/priest/priest_movie_character.lua\000'
debug: Loading module '\000/characters/queen/queen_character.lua\000'
debug: Loading module '\000/characters/queen/queen_open_character.lua\000'
debug: Loading module '\000/characters/queen/queen_open_movie_character.lua\000'
debug: Loading module '\000/characters/rook/rook_character.lua\000'
debug: Loading module '\000/characters/serpent/serpent_character.lua\000'
debug: Loading module '\000/characters/siegearcher/siegearcher02_character.lua\000'
debug: Loading module '\000/characters/siegearcher/siegearcher03_character.lua\000'
debug: Loading module '\000/characters/siegearcher/siegearcher04_character.lua\000'
debug: Loading module '\000/characters/siegearcher/siegearcher_character.lua\000'
debug: Loading module '\000/characters/sniper/sniper_character.lua\000'
debug: Loading module '\000/characters/sniper/sniperfury_character.lua\000'
debug: Loading module '\000/characters/spirit/spirit_character.lua\000'
debug: Loading module '\000/characters/trebuchet/hrooktreb_character.lua\000'
debug: Loading module '\000/characters/trebuchet/trebuchet_character.lua\000'
debug: Loading module '\000/characters/unclean_beast/unclean_beast_character.lua\000'
debug: Loading module '\000/characters/unclean_beast/unclean_beast_movie_character.lua\000'
debug: Loading module '\000/characters/vampire/vampire_character.lua\000'
debug: Loading module '\000/characters/vampire_lord/vampire_lord_character.lua\000'
debug: Loading module '\000/characters/waridol/waridol_character.lua\000'
debug: Loading module '\000/characters/whiptail/whiptail_character.lua\000'
debug: Loading module '\000/characters/yeti/yeti_character.lua\000'
info: Preloading resources.
debug: Loading module '\000/lua/common/preload.lua\000'
info: Calling CVPUpdateGame. gameDataXML [len]: [4706]

Reply #3 Top

I get this after playing the game for awhile.

 

Reply #4 Top

Quoting Dopefish, reply 3
I get this after playing the game for awhile.

 



Reduced 35%

Original 1680 x 1050
End of Dopefish's quote

Is that Demigod using 3.5 gigs of memory? So much for no games using more than 2 gigs (it's what alot of people claim at the main tech forum I go to).

Reply #5 Top

In 32-bit Windows, applications are limited to a 2GB address space.  In 64-bit, they are not.  However, there's still things you can do to give a 32-bit app more than 2GB of address space.