- Home /
Constant growth of Mono used size - only in Unity Editor
Guys, I've discovered rather strange behaviour, which could be seen only in Unity Editor. In build mode everythink is OK.
The Mono used size (Profiler.GetMonoUsedSize()) is constantly growing. In my project growth is around +450 000 bytes per second. Of course due to work of the Garbage Collector there are periodical big drops of this number. Same behaviour could be observed even in the almost empty project, which contains only UI.Text and C# script for updating the value of the number.
The problem is that this growth does not allow me to detect and debug my own memory leaks.
So, I have to do memory leaks detection and debuging in build mode, which is very inconvenient due to memory leaks debugging is a very iterative process...
Anyway, why this number is constantly growing in Unity Editor and is there any way to fix it?