# Constant crashes due to running out of memory

**URL:** <https://forums.fatsharkgames.com/t/constant-crashes-due-to-running-out-of-memory/101073>\
**Category:** Bugs\
**Tags:** acknowledged\
**Created:** [November 8, 2024, 7:02pm UTC](https://forums.fatsharkgames.com/t/constant-crashes-due-to-running-out-of-memory/101073 "2024-11-08T19:02:15Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sqej](https://avatars.discourse-cdn.com/v4/letter/s/977dab/32.png) [@Sqej](https://forums.fatsharkgames.com/u/Sqej)\
**Post date:** [November 8, 2024, 7:02pm UTC](https://forums.fatsharkgames.com/t/constant-crashes-due-to-running-out-of-memory/101073/1 "2024-11-08T19:02:15Z")

</div>

### Issue Type (Required):

Other

### Issue Description (Required):

Game crashes with an ‘out of memory’ error message consistently after launching the game, often before I’m able to reach the mission terminal, much less queue for a mission. I’ve tried verifying game files, and everything validates without issue. Closing all background applications likewise has done nothing, and checking task manage while the game is running shows that I’m not out of memory. Restarting my PC also does not appear to help. In prior patches I’d run mods and occasionally run into memory issues, but on the current patch I haven’t used them and am running into problems far more frequently.

The game is quite literally unplayable, as it’s crashing nigh on every launch. I’ve pasted the crash message below, there are a bunch more messages that I haven’t saved, but they all had the same things, heap\_allocator, out of memory, etc.

## GUID: a0f29bc3-02c5-43c7-845a-ad61db1911b3 Log File: Info Type:

[Engine Error]: Commiting heap range failed for ‘heap\_allocator’. Out of memory? error: 1455, reserved: 4294967296, required: 662700032, size: 2097152. Test allocation succeded? false

At `D:\a\d\rel_engine_darktide\release\rel_2024_08_20_Patch1.5.0x\runtime\foundation\memory\heap_allocator.cpp:191` in function `stingray::HeapAllocator::resize_heap`

* * *

### [PC] Do You Use Mods? (Optional):

Yes, and I’ve tried disabling them

### Reproduction Rate (Required):

Constant (100%)

### Platform (Required):

PC - Steam

---

<div class="post-metadata">

**Author:** ![AngryMouse](https://dub1.discourse-cdn.com/flex013/user_avatar/forums.fatsharkgames.com/angrymouse/32/62968_2.png) [@AngryMouse](https://forums.fatsharkgames.com/u/AngryMouse)\
**Post date:** [November 9, 2024, 10:49am UTC](https://forums.fatsharkgames.com/t/constant-crashes-due-to-running-out-of-memory/101073/2 "2024-11-09T10:49:04Z")

</div>

This is occurring to me too. Sometimes I can get into missions but sometimes not.

---

<div class="post-metadata">

**Author:** ![supra898](https://dub1.discourse-cdn.com/flex013/user_avatar/forums.fatsharkgames.com/supra898/32/116683_2.png) [@supra898](https://forums.fatsharkgames.com/u/supra898)\
**Post date:** [November 9, 2024, 10:51am UTC](https://forums.fatsharkgames.com/t/constant-crashes-due-to-running-out-of-memory/101073/3 "2024-11-09T10:51:20Z")

</div>

try adding this to your steam launch properties if you dont have it already

–lua-heap-mb-size 2048

---

<div class="post-metadata">

**Author:** ![gpkgpk](https://dub1.discourse-cdn.com/flex013/user_avatar/forums.fatsharkgames.com/gpkgpk/32/119406_2.png) [@gpkgpk](https://forums.fatsharkgames.com/u/gpkgpk)\
**Post date:** [November 9, 2024, 3:47pm UTC](https://forums.fatsharkgames.com/t/constant-crashes-due-to-running-out-of-memory/101073/4 "2024-11-09T15:47:02Z")

</div>

This doesn’t appear to be the lua heap, but the actual system mem heap allocator (likely paging file from err #).

---

<div class="post-metadata">

**Author:** ![gpkgpk](https://dub1.discourse-cdn.com/flex013/user_avatar/forums.fatsharkgames.com/gpkgpk/32/119406_2.png) [@gpkgpk](https://forums.fatsharkgames.com/u/gpkgpk)\
**Post date:** [November 9, 2024, 4:12pm UTC](https://forums.fatsharkgames.com/t/constant-crashes-due-to-running-out-of-memory/101073/5 "2024-11-09T16:12:09Z")

</div>

> [@Sqej](#):
>
> Commiting heap range failed for ‘heap\_allocator’. Out of memory? error: 1455

How much RAM do you actually have?  
Did you fiddle with your Windows swap file? Leave it to System Managed.

If it’s 1455, paging file is too small . [System Error Codes (1300-1699) (WinError.h) - Win32 apps | Microsoft Learn](https://learn.microsoft.com/en-us/windows/win32/debug/system-error-codes--1300-1699-)

> **ERROR\_COMMITMENT\_LIMIT**  
> 1455 (0x5AF)  
> The paging file is too small for this operation to complete.

It may also be a good idea to run Mem Test: Press Windows key + R then type in mdsched.exe hit OK then restart the device. (takes time)

---

<div class="post-metadata">

**Author:** ![Axloss](https://avatars.discourse-cdn.com/v4/letter/a/bcef8e/32.png) [@Axloss](https://forums.fatsharkgames.com/u/Axloss)\
**Post date:** [November 12, 2024, 9:40am UTC](https://forums.fatsharkgames.com/t/constant-crashes-due-to-running-out-of-memory/101073/6 "2024-11-12T09:40:50Z")

</div>

I would follow these recommendations.

The info in your log says that you should have memory. But of some reason there isn’t any left that fits the criteria (2 mb) according to the system and windows will use the page file in this case.

Since the error is page file related the best thing is to first confirm if you still get this when you let windows manage your page files.

---

<div class="post-metadata">

**Author:** ![Sqej](https://avatars.discourse-cdn.com/v4/letter/s/977dab/32.png) [@Sqej](https://forums.fatsharkgames.com/u/Sqej)\
**Post date:** [November 19, 2024, 5:40pm UTC](https://forums.fatsharkgames.com/t/constant-crashes-due-to-running-out-of-memory/101073/7 "2024-11-19T17:40:02Z")

</div>

So, I have fixed the issue, it was an issue with my graphics drivers. Reinstalling them and rebooting my PC has entirely removed the memory problems.

For the record I have 16 gigs of ram, and am using an Nvidia GTX 1080 Ti. I just reinstalled the drivers through the geforce experience app and rebooted, in case anyone else is experiencing the same/similar issues.

---

<div class="post-metadata">

**Author:** ![gpkgpk](https://dub1.discourse-cdn.com/flex013/user_avatar/forums.fatsharkgames.com/gpkgpk/32/119406_2.png) [@gpkgpk](https://forums.fatsharkgames.com/u/gpkgpk)\
**Post date:** [November 19, 2024, 9:51pm UTC](https://forums.fatsharkgames.com/t/constant-crashes-due-to-running-out-of-memory/101073/8 "2024-11-19T21:51:35Z")

</div>

> [@Sqej](#):
>
> geforce experience

**PSA:** GFE is now deprecated, and the [nVidia App](https://www.nvidia.com/en-us/software/nvidia-app/) is now out of beta and releasing on time, well it’s out already.
