Potential Memory Leak?

Issue Type (Required):

Other

Issue Description (Required):

Game crashes after long session, reports “critical error, ran out of memory”

Steps to Reproduce (Required):

play long enough, i guess?

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

No, I don’t use mods

Reproduction Rate (Required):

Once

Platform (Required):

PC - Steam

[PC] Upload Console Log & darktide_launcher.log (Optional):

console-2024-11-01-13.57.56-00bf59c3-65b8-4cff-a45a-af317de4c388.log (3.31 MB)
crash_dump-2024-11-01-13.57.56-00bf59c3-65b8-4cff-a45a-af317de4c388.dmp (1.18 MB)

1 Like

Same problem every day. It happens more quickly when u change scin of weapon (switch from one to another) like 7-10 times.

1 Like

In your log:

22:13:46.479 <>Not enough memory reserved for heap ‘lua_heap’, reserved: 1073741824, required: 1077936128, size: 18874368

It’s Lua scripting engine not having enough memory reserved to do it’s thang.
IIRC the crafting stuff can exceed the limits and crash, even if you don’t use mods and many items; it’s not a memory leak and sadly the error popup is under the generic “out of memory”.
Increasing the memory reserved for Lua stuff (internal scripts) should avoid crashes of this type.

See fix Add the 1 to 2gb Lua heap switch to launcher settings Plz