Why does memory usage in Unity Profiler smaller than memory usage showed in Xcode?

Hi everyone!
I’m trying to optimize my game and tried to measure via iPad Mini 2 remote profiling on both Unity and Xcode. But I saw that memory usage is different.

Specifically, I’m using Unity 2019.1 and it showed: Used Total: 41.2 MB, Reserved Total: 47.2 MB


Xcode is 138 MB.

I don’t know why this happens. Could anyone help me to figure out why 2 numbers are different?
Thank you very much! :smiley:

Lots of reasons! For starters, a different operating system with totally different CPU architectures. iOS also uses different compression methods for Textures and other assets. If you want to get accurate iOS profiling for memory, use the remote profiler and attach it to your iOS device (or keep using the XCode one as you are now).