out of memory exception caused a hard crash

Can't reproduce
Feyr [github] · 4 years ago

Describe the issue
out of memory exception caused a hard crash
i was just clicking around mining/dumping on the west sand bank

Expected behavior
game crashed

To Reproduce
Steps to reproduce the behavior:
not sure it's reproducible as it probably depend on system state. but save game is attached as well as the game log

Additional context

  • Game version: 0.4.7a

Attachments
crash
22-07-03_15-14-12_7673.log
22-07-03_21-48-autosave.save

Files not imported: 22-07-03_21-48-autosave.save

1 attachment only for registered users
Captain Filip Captain Filip · 4 years ago

Hi did this happen after you have loaded the game and previous game already running or happened after a fresh load? What is you RAM size?

Feyr [github] · 4 years ago

i did load a save shortly before this happened (5-10 minutes). only 1 copy of the game was running at the time
task manager showed about 3gb usage for CoI
system has 16gb

Feyr [github] · 4 years ago

thanks.

after observing the system, i now believe it was simply extreme memory fragmentation: it had plenty free ram but no space large enough to accomodate large-ish requests (10MB in this case). i don't have a profile to prove it, and CoI was the only new thing that had been running for any significant amount of time that could have caused this, but it may be completley unrelated as well

i dont know if there's such a thing as a better memory allocator in C# (ie jemalloc in C/C++), and whether you're using it or not, but we can probably close this one.

Closed as 🤔 Can't reproduce

6 Showing 1–6 of 6