# Constant Memory Leak

**URL:** <https://forums.fatsharkgames.com/t/constant-memory-leak/121087>\
**Category:** Bugs\
**Tags:** mod-related\
**Created:** [April 24, 2026, 8:13pm UTC](https://forums.fatsharkgames.com/t/constant-memory-leak/121087 "2026-04-24T20:13:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wildcard](https://avatars.discourse-cdn.com/v4/letter/w/d26b3c/32.png) [@Wildcard](https://forums.fatsharkgames.com/u/Wildcard)\
**Post date:** [April 24, 2026, 8:13pm UTC](https://forums.fatsharkgames.com/t/constant-memory-leak/121087/1 "2026-04-24T20:13:34Z")

</div>

### Issue Type (Required):

Other

### Issue Description (Required):

IS THIS EVER GOING TO BE FIXED!?

## GUID: c8a5df45-3054-4dc5-8987-82008e65c0e8 Log File: Info Type:

[Engine Error]: Not enough memory reserved for heap ‘lua\_heap’, reserved: 1073741824, required: 1075838976, size: 2097152

Assertion failed `size + commited <= heap->_reserved` at `D:\a\d\e2af82edaa31c93c6098ffbd561125ed\b0be1561439953a6\stingray\runtime\foundation\memory\heap_allocator.cpp:242` in function `stingray::HeapAllocator::add_area_cb`

* * *

---

<div class="post-metadata">

**Author:** ![MeatShield01](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@MeatShield01](https://forums.fatsharkgames.com/u/MeatShield01)\
**Post date:** [April 24, 2026, 8:46pm UTC](https://forums.fatsharkgames.com/t/constant-memory-leak/121087/2 "2026-04-24T20:46:07Z")

</div>

Not a leak, the 1 GB allocated to the LUA Heap just isn’t enough it you run a lot of mods. Increase the allocation.

Would be awesome if FS made it easier, but here’s a quick guide how to increase it.

> [@Out of memory due to heap size](https://forums.fatsharkgames.com/t/out-of-memory-due-to-heap-size/109561/3):
>
> If I’m reading the values correctly, increasing the heap limit might help you, it helps most people: This is what it should look like in your launch options:
