I seem to have a memory leak except when... wait for it... I'm profiling memory

mmmmGoodDinner
Mon, 13 Sep 2021 16:11:12 +0000
Debugging, Optimization, & Profiling

If I package my UE4 game in shipping mode and then run the packaged game, I seem to have a memory leak and it starts going up to the 2000-3000 MB range and sometimes even past 10,000MB!

When I deploy my game in development mode and then run the game from the windows command prompt with low level memory enabled (-llm as a command line argument), the memory usage never passes 600MB.

What the heck!? What could possibly be going on here where LLM enabled is preventing a memory leak but otherwise there is extreme memory usage? I thought I would be able to use stat LLM to figure out what my memory issue is but I don’t have a memory issue when LLM is enabled.

Any help would be mega appreciated.

2 posts - 2 participants