[16.36] Crash: "bad allocation"

Bugs that are actually features.
RBjerreA
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sat Mar 31, 2018 5:24 pm
Contact:

[16.36] Crash: "bad allocation"

Post by RBjerreA »

Game crashed while playing...

Version: See attached pic

Mods: See attached pic
Attachments
2018-03-31 19_35_36-Factorio 0.16.36.jpg
2018-03-31 19_35_36-Factorio 0.16.36.jpg (94.63 KiB) Viewed 1603 times
2018-03-31 19_32_51-Factorio 0.16.36.jpg
2018-03-31 19_32_51-Factorio 0.16.36.jpg (221.91 KiB) Viewed 1603 times
_autosave1.zip
(9.82 MiB) Downloaded 88 times
factorio-dump-current.dmp
(466.67 KiB) Downloaded 84 times
factorio-current.log
(14.33 KiB) Downloaded 109 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 16102
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [16.36] Crash: "bad allocation"

Post by Rseding91 »

Thanks for the report. The game crashed when it failed to allocate memory which means you ran out of RAM.

You can try reducing the graphics quality and or close other programs to work around the issue.
If you want to get ahold of me I'm almost always on Discord.
Kocoum
Manual Inserter
Manual Inserter
Posts: 1
Joined: Mon Apr 02, 2018 2:08 pm
Contact:

Re: [16.36] Crash: "bad allocation"

Post by Kocoum »

Hello. I had the same issue, but I have 8 GB of RAM, so how much RAM do I need to run this game on full graphics?

The crash report reads:

0.001 2018-04-02 15:43:42; Factorio 0.16.36 (build 36253, win64, steam)
0.001 Operating system: Windows 10 (version 1709)
0.001 Program arguments: "C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe"
0.001 Read data path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/data
0.001 Write data path: C:/Users/Käyttäjä/AppData/Roaming/Factorio [811494/953189MB]
0.001 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
0.012 System info: [CPU: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz, 8 cores, RAM: 4038/8137 MB, page: 5420/12137 MB, virtual: 230/134217727 MB, extended virtual: 0 MB]
0.013 Display options: [FullScreen: 1] [VSync: 0] [UIScale: system (100.0%)] [MultiSampling: OFF] [Screen: 255] [Lang: fi]
0.013 Available display adapters: 1
0.013 [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 760 {0x05, [0,0], 1920x1080, 32bit, 60Hz}
0.014 Create display on adapter 0. Size 1280x720 at position [310, 162].
0.101 Initialised Direct3D:[0] NVIDIA GeForce GTX 760; driver: nvldumdx.dll 23.21.13.8831
0.105 Video memory size (dedicated video/dedicated system/shared system/available): 4063/0/4068/4088 MB
0.132 DSound: Starting _dsound_update thread
0.132 DSound: Enter _dsound_update; tid=14060
0.134 Device reset internal.
0.136 Desktop composition is active.
0.136 Graphics settings preset: very-high
0.136 Graphics options: [Graphics quality: high] [Video memory usage: high] [Light scale: 25%] [DXT: false] [Shader: 1]
0.136 [Parallel sprite loading: 1] [Max texture size: 0/8192] [Bmp cache: 0] [Sprite slicing: 1] [Low quality rotation: 0]
0.195 Error GlobalModSettings.cpp:107: Failed to migrate mod settings file: Error when opening C:\Users\Käyttäjä\AppData\Roaming\Factorio\mods\mod-settings.json for reading: No such file or directory
0.196 Loading mod core 0.0.0 (data.lua)
0.210 Loading mod base 0.16.36 (data.lua)
0.343 Loading mod base 0.16.36 (data-updates.lua)
0.392 Checksum for core: 1316978547
0.392 Checksum of base: 4140083139
0.484 Loading sounds...
2.747 Info PlayerData.cpp:67: Local player-data.json unavailable
2.747 Info PlayerData.cpp:70: Cloud player-data.json available, timestamp 1522392720
2.848 Loaded shader file C:/Program Files (x86)/Steam/steamapps/common/Factorio/data/core/graphics/shaders/game.cso
2.879 Loaded shader file C:/Program Files (x86)/Steam/steamapps/common/Factorio/data/core/graphics/shaders/zoom-to-world.cso
2.879 Loaded shader file C:/Program Files (x86)/Steam/steamapps/common/Factorio/data/core/graphics/shaders/alpha-mask.cso
2.905 Initial atlas bitmap size is 16384
2.913 Created atlas bitmap 16384x13062 [none]
3.469 Created atlas bitmap 16384x3020 [shadow]
3.554 Created atlas bitmap 16384x2104 [decal]
3.607 Created atlas bitmap 8192x5596 [mipmap]
3.685 Created atlas bitmap 8192x800 [mipmap, smoke]
3.697 Created atlas bitmap 8192x8188 [linear-minification, mipmap, terrain]
3.818 Created atlas bitmap 8192x1328 [linear-minification, mipmap, terrain]
3.834 Created atlas bitmap 8192x2092 [no-crop, trilinear-filtering, icon, light]
3.864 Created atlas bitmap 8192x924 [alpha-mask]
60.783 Sprites loaded
60.783 Convert atlas 8192x5596 to: mipmap
60.970 Convert atlas 8192x800 to: mipmap
60.996 Convert atlas 8192x8188 to: min-linear
61.256 Convert atlas 8192x1328 to: min-linear
61.298 Convert atlas 8192x2092 to: trilinear-filtering
61.363 Convert atlas 8192x924 to: alpha-mask
61.918 Custom inputs active: 0
62.059 Factorio initialised
67.247 Loading map C:\Users\Käyttäjä\AppData\Roaming\Factorio\saves\Ansimmainen peli.zip: 17366802 bytes.
67.322 Loading Level.dat: 40107746 bytes.
67.327 Info Scenario.cpp:136: Map version 0.16.36-2
68.591 Loading script.dat: 175 bytes.
68.620 Checksum for script C:/Users/Käyttäjä/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 55817070
252.681 Info AppManager.cpp:260: Saving to _autosave2 (blocking).
253.677 Info AppManagerStates.cpp:1642: Saving finished
253.798 Info AppManager.cpp:260: Saving to _autosave3 (blocking).
554.804 Info AppManagerStates.cpp:1642: Saving finished
854.832 Info AppManager.cpp:260: Saving to _autosave1 (blocking).
855.828 Info AppManagerStates.cpp:1642: Saving finished
1155.982 Info AppManager.cpp:260: Saving to _autosave2 (blocking).
1156.952 Info AppManagerStates.cpp:1642: Saving finished
1456.949 Info AppManager.cpp:260: Saving to _autosave3 (blocking).
1457.898 Info AppManagerStates.cpp:1642: Saving finished
1758.048 Info AppManager.cpp:260: Saving to _autosave1 (blocking).
1759.084 Info AppManagerStates.cpp:1642: Saving finished
2067.399 Info AppManager.cpp:260: Saving to _autosave2 (blocking).
2068.365 Info AppManagerStates.cpp:1642: Saving finished
2368.433 Info AppManager.cpp:260: Saving to _autosave3 (blocking).
2369.454 Info AppManagerStates.cpp:1642: Saving finished
2669.449 Info AppManager.cpp:260: Saving to _autosave1 (blocking).
2670.459 Info AppManagerStates.cpp:1642: Saving finished
2970.482 Info AppManager.cpp:260: Saving to _autosave2 (blocking).
2971.536 Info AppManagerStates.cpp:1642: Saving finished
3271.582 Info AppManager.cpp:260: Saving to _autosave3 (blocking).
3272.665 Info AppManagerStates.cpp:1642: Saving finished
3572.700 Info AppManager.cpp:260: Saving to _autosave1 (blocking).
3572.771 d3d_create_textures: Unable to create system texture.
3572.821 Error ParallelScenarioSaver.cpp:73: Failed to save preview picture: Unable to create sprite (of size 640X480) probably not enough of video memory.
3572.930 Error CrashHandler.cpp:371: Exception Code: e06d7363, Address: 0x00007ffec6684008 ModuleBase: 0x00007ff7222f0000, ImageSize: 013cb000, RelativeAddress: a4394008
3572.930 Error CrashHandler.cpp:391: Exception Context:
  • rax=0000000000000002,
    rbx=0000000000100004,
    rcx=00000243196158e0,
    rdx=00000244ae77d400,
    rsi=00007ff72354eea8,
    rdi=0000000000000001,
    rip=00007ffec6684008,
    rsp=000000465195f170,
    rbp=000000465195f2b0,
    r8=0000000000000000,
    r9=0000000000000000,
    r10=00007ffeca0467d6,
    r11=0000000000000000,
    r12=000000000000000e,
    r13=0000024405043700,
    r14=000000465195f2f0,
    r15=0000000000000001
3572.930 Crashed in C:\WINDOWS\System32\KERNELBASE.dll (0x00007ffec6670000 - 0x00007ffec68d6000) Factorio crashed. Generating symbolized stacktrace, please wait ...
  • ERROR: SymGetSymFromAddr64, GetLastError: 126 (Address: 00007FF722F5632C)
    ERROR: SymGetLineFromAddr64, GetLastError: 126 (Address: 00007FF722F5632C)
    ERROR: SymGetModuleInfo64, GetLastError: 1114 (Address: 00007FF722F5632C)
    00007FF722F5632C ((module-name not available)): (filename not available): (function-name not available)
    Stack trace logging done
3574.031 Include minidump in crash report.
3574.031 Error CrashHandler.cpp:174: Map tick at moment of crash: 33876001
3574.031 Error Util.cpp:67: Unexpected error occurred. If you're running the latest version of the game you can help us solve the problem by posting the contents of the log file on the Factorio forums.
Please also include the save file(s), any mods you may be using, and any steps you know of to reproduce the crash.
3581.855 Device reset external.
3587.990 Device reset internal.
3588.089 D3DERR_DEVICELOST in reset.
3588.405 Error Util.cpp:49: Unable to create sprite (of size 256X192) probably not enough of video memory.
3721.799 Uploading log file
3721.806 Error CrashHandler.cpp:225: Heap validation: success.
3721.808 Creating crash dump.
3725.920 CrashDump success
3725.920 Error CrashHandler.cpp:328: Unhandled exception type: .?AVbad_alloc@std@@
3725.920 Error CrashHandler.cpp:337: Unhandled exception: bad allocation
Post Reply

Return to “Not a bug”