- Home /
Unity editor memory leak
When opening the Unity editor, I notice the memory usage slowly keeps crawling up. It started with about 350MB memory usage, now it is at 490MB two minutes later while just leaving the editor idle. It is increasing in memory usage at about 100KB every few seconds. I'm not doing anything in the editor, it is idle.
Another problem I noticed is that after previewing a scene by pressing play, once finished and stopping the scene the memory usage doesn't reduce again. So if I click play, then stop, then reload and play again the memory usage just keeps going up and up to the point I then have to close/open the unity editor because it crashes running out of memory that should have been cleared from the last time the scene was run and then stopped.
I'm using the latest version of Unity 4.5.
Any suggestions?
I have a similar problem. When stopping, the memory is reduced but not completely. After each restart, the memory usage grows and takes twice as much. This is really annoying since it forces me to restart unity after 5-6 running-stopping cycle. I don't know if it is a unity bug or one of the third party editor extension.
Is this in an empty scene? Does the leak happen in other projects?
Do you have Unity Pro? you can use the Profiler to profile the window and see what is using memory.
There are many different things that could be causing memory leaks, from instantiating a ton of textures to nasty optimization bugs in $$anonymous$$ono.
Perhaps you could give a bit more info on your setup.
I'm also facing this issue even in the version 4.6.1f1.
Your answer
Follow this Question
Related Questions
A node in a childnode? 1 Answer
Player damage stops working over time 0 Answers
Debug the Scene loading time? 0 Answers
Equivalent of OpenFilePanel without using UnityEditor? 5 Answers
MonoDevelop Resizing 1 Answer