TA3D icon indicating copy to clipboard operation
TA3D copied to clipboard

Game crash when using more ram

Open 8bit-meiko opened this issue 7 years ago • 2 comments

I notoced when making my own lua script based on the benchmark script, when adding alot of units, causing game ver 0.6 to use over around 300mb of ram, the game crashes.

This on the windows port

Can provide logs if you want

8bit-meiko avatar Oct 17 '18 20:10 8bit-meiko

update on this one: the issue isn't correct, the threading model that is implemented is not correct it seems, i was doing a test with 3 ai (hardest difficulty, gave them only some defence) and the game crashed suddenly wherei was the only 'player' doing actual stuff. i have some more advanced logging available (screenshots from process explorer x64)

my specs: amd athlon 200ge (zen based with vega 3 igpu), 8gb ddr4 2666 ram, 500gb 5400rpm notebook hdd, running windows10 x64.

a thing i noticed: there's quite some ram leaks, as when units are killed, not all of their used ram is freed somehow. it stays allocated. (noticed when i had a commander with around 80 units and structures around getting killed suddenly, but only a mb or 2 was freed)

thread usage on crash gpu before crash perf graph before crash sysvars

these screens were taken just after a game crash (process explorer stops logging a process when it crashes)

debug log will be in a follow up message as i just found where it is stored

8bit-meiko avatar Oct 19 '18 20:10 8bit-meiko

ta3d log last part.txt

as said, the last part of the ta3d.log file.

can't find real errors though.

8bit-meiko avatar Oct 19 '18 20:10 8bit-meiko