From what I can see .Williams has been collecting reports on memory leaks, such as here. However, while the possible causes mentioned there do seem to leak a bit of memory for me too, the major killer for me comes after saving (saving a blueprint, saving content, and especially saving all). I haven’t seen anyone mention this happening after saving so I’m entering another bug report, hope that’s ok.
Build Version: 4.7.6-2513093 Binary (though this was happening in 4.7.1 as well before I updated).
Processes:
- The results below come while following the UMG UI Inventory Tutorial Video 3 (though this has happened after following other tutorials, its more evident in this video and the previous one as there is a lot of creating, compiling, and saving of content and blueprints).
- Before starting the tutorial a fresh editor was launched, with an initial start-up memory of 181.62mb. It was then left idle for an hour and ended with a memory use of 236.64mb.
- Throughout the tutorial video, I never pressed the play button nor did I interact with the main viewport at all.
- The video was followed to where the the GameHUD widget is made, after which the memory was: Before Compile = 797.62mb, Before Saving = 812.78mb, After Saving = 871.96mb and now steadily rising at roughly 1mb/s.
- An autosave then occurred less than five minutes later with the following memory: After Autosave = 1,734.33mb
- After editing, compiling, and saving the FirstPersonShooterCharacter blueprint and reaching the end of the tutorial video after about 10 minutes, the memory is now at 2,018.91mb.
- Lastly, about a minute later, I did a save all (ctrl+s) with the following memory: Before Saving = 2,096.45mb, After Saving = 2,313.88mb and now steadily rising at roughly 5mb/s.
- I then left the editor idle for a while (less than 30 minutes) and waited for it to reach 5,018.70mb, at which point the memreport was run and I closed the editor.
The memory will keep rising indefinitely until the system memory is all used up an constant paging causes a complete system freeze.
Also, through all of this the number of objects reported by the editor didn’t change much, it hovered around 50,000 +/- 5,000. The memreport and dxdiag are attached. Not sure if its relevant but the editor is not run as administrator and this user cannot write to anywhere except their documents space. Unfortunately the Unreal Launcher currently crashes when I launch as administrator so haven’t been able to test if the problem persists if the engine is run as administrator.
Let me know if there is any more info I can help with.
Cheers