UnloadLevelInstance Memory Accumulation

I tested LoadLevelInstance and Unload using an empty project. This is the only code in the level instance, and no modifications have been made to the built-in StartContent level. I tested the packages for versions 5.4 and 5.5 in this way, and then obtained LLM tables using the -LLM and -LLMCSV flags. However, the memory usage for the FMallocUnused item is inconsistent.

5.5

The graph in Figure 5.5 shows that a cumulative increase of 200M in memory (virtual memory) occurred within 400 seconds

5.4

It can be observed that the memory of the package FMallocUnsed in version 5.5 has been accumulating, whereas there is no such issue in version 5.4

1 Like

Give it a go after packaging.

I assume it works the same way as the texture streaming pool. For some reason, that is also not managed in the editor, but is in a packaged game.

Thank you for your reply, but this is the result of the packaged run

1 Like

Darn.

I’d be interested to hear if you find any more info on this. I’m also using ‘load level instance’, but haven’t run into any problems after playing for quite a while ( and each level is about 4GB at the moment )…

Fortunately, this issue only occurs in version 5.5. When I tested with version 5.6, everything was normal. However, my official project cannot be updated to version 5.6 soon

1 Like

Ah, good to know ( about 5.6 ). Good luck.