Unexpected error occurred at game start

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
nethus
Inserter
Inserter
Posts: 25
Joined: Fri Nov 17, 2023 11:11 pm
Contact:

Unexpected error occurred at game start

Post by nethus »

Hi
I recently started playing factorio. Love it, but unfortunately about 1 in 4 game launches results in a crash ('Unexpected error occured at game start). So far I'm not able to pinpoint the trigger for this error. It happened as well when Factorio was restarting to sync mods, after 1h of single player action and switching to a multiplayer game.
I tried deleting some of the .DAT files in the appdata\roaming\factorio folder, as well as the mods and temp folder: iirc that allowed me to restart Factorio one of the first times that it crashed.
Sometimes steam (steam webhelper? ) crashes with it as well.

In almost all of the cases I have to reboot my pc to get Factorio running again.

windows 10 pro 22H2 64bit
Intel i7 870
12GB RAM
NVidia GeForce GTX 750 Ti
Attachments
factorio-previous.log
(15.36 KiB) Downloaded 54 times
factorio-dump-previous.dmp
(743.42 KiB) Downloaded 37 times
Loewchen
Global Moderator
Global Moderator
Posts: 9623
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: Unexpected error occurred at game start

Post by Loewchen »

You ran out of memory.
nethus
Inserter
Inserter
Posts: 25
Joined: Fri Nov 17, 2023 11:11 pm
Contact:

Re: Unexpected error occurred at game start

Post by nethus »

thanks for the help. I'm somewhat confused, as 12GB should be plenty according to the system requirements. But I'll check my memory usage next time the game crashes.
FuryoftheStars
Smart Inserter
Smart Inserter
Posts: 2768
Joined: Tue Apr 25, 2017 2:01 pm
Contact:

Re: Unexpected error occurred at game start

Post by FuryoftheStars »

nethus wrote: Tue Nov 21, 2023 11:44 pm thanks for the help. I'm somewhat confused, as 12GB should be plenty according to the system requirements. But I'll check my memory usage next time the game crashes.
If you tend to run a lot of things in the background and/or rarely reboot, these are possible reasons why you'd run out despite physical ram exceeding game specs.

According to the log, when you started the game, you were a little under 7 GB of 12 GB used.

Then, at the end of the crash report, there's this:

Code: Select all

  48.798 Error CrashHandler.cpp:418: Unhandled exception type: .?AVBadAllocation@@
  48.798 Error CrashHandler.cpp:432: Unhandled exception: memory allocation of 6540961 bytes failed! RAM: 8002/12283, Page: 12276/12283.
  48.798 ProcessMemoryCounters: PageFaultCount=322506, PeakWorkingSetSize=1063014400, WorkingSetSize=1062043648, QuotaPeakPagedPoolUsage=1057224, QuotaPagedPoolUsage=857032, QuotaPeakNonPagedPoolUsage=85160, QuotaNonPagedPoolUsage=84344, PagefileUsage=2480144384, PeakPagefileUsage=2480943104
  48.802 PerformanceInformation: CommitTotal=2779694, CommitLimit=3144517, CommitPeak=3144517, PhysicalTotal=3144517, PhysicalAvailable=1404101, SystemCache=1190110, KernelTotal=289901, KernelPaged=203640, KernelNonpaged=86261, PageSize=4096, HandleCount=102800, ProcessCount=224, ThreadCount=3256
My Mods: Classic Factorio Basic Oil Processing | Sulfur Production from Oils | Wood to Oil Processing | Infinite Resources - Normal Yield | Tree Saplings (Redux) | Alien Biomes Tweaked | Restrictions on Artificial Tiles | New Gear Girl & HR Graphics
Post Reply

Return to “Technical Help”