- Home /
How to monitor Memory usage on device?
When I build my game in Xcode and run on my Ipad it crashes due to memory usage over 650 mb. Starts on 95 mb and builds up to 650 in 20 min. I want to see if this increase goes on in the same pace "forever". Since Xcode shuts down the game at 650 mb I have to get this data from the device itself. So im asking: Is there a code that returnes an integer with mb of the current memory usage for the game?
Use Unity's awesome profiling system, 1000s of pages about it
I have used the profile system to monitor the memory usage when I play the game in Unity. However the memory problems occur when you play on a real device online.. I havent seen any info that you can track memory usage on a device with the profiling system. Im probably wrong but I have really tried to search...
Answer by mikelortega · Dec 03, 2015 at 03:18 PM
Check how to connect the profiler to your device in the documentation. You can monitor the memory usage connecting the Unity Profiler to your device via wifi:
Your answer
Follow this Question
Related Questions
How to reduce memory usage? 1 Answer
Sub-emitter memory leak? 3 Answers
Dynamic memory allocation on WebGL Build 0 Answers
"String too long for TextMeshGenerator. Cutting off characters." when doing Regex.Replace 3 Answers
videoplayer suddenly pause? 0 Answers