Caldelta Note
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.
https://blogs.unity3d.com/2016/12/05/unity-webgl-memory-the-unity-heap/?_ga=2.217967381.2064582907.1570856554-1098102904.1570015576
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment