- Home /
Question by
SpitefulFox · Feb 03, 2017 at 08:44 PM ·
webglmemory usage
How to monitor memory usage in WebGL?
Is there a way to see memory usage from a script while running in WebGL? I'm supposed to gracefully stop the app if memory usage passes a certain threshold.
Comment
Answer by Charles-Van-Norman · May 25, 2017 at 03:40 PM
You can use "System.GC.GetTotalMemory(false)" in your Unity code, but I'm not sure how to directly profile memory in the javascript build from the WebGL context