Tuesday, October 15, 2019

Query amount heap used during runtime

https://forum.unity.com/threads/query-the-amount-of-heap-used-during-runtime.437522/



System.GC.GetTotalMemory() is reliable and corresponds to our Profiler.GetMonoUsedSize(), so it is the total managed memory currently used. To know the total size of the managed heap (used+free), use Profiler.GetMonoHeapSize() instead.


No comments:

Post a Comment