The app is built using Xcode 11.4, Catalina (We are not going to update the build server until next product release).
I can't use instrument to mark the memory, instrument won't be able to attach the process. I have spent quite some time with it, but no success yet.
When testing it on Big Sur Inter, the idle memory is under 250 MB. Real Memory less than 400MB, not VM Compressed.
When running heave memory function, the Memory increate to less than 700MB, with Real Mem about 900MB. Right after ending the function, the memory goes back almost the same as before starting.
But on M1, it is very different.
when idea, memory is under 200MB, Real 1GB, Private 150MB, no VM Compress
when running the function: memory is 700MB, Real 3GB, private 600MB no VM Comperss
After ending the function, memory is over 650MB, Real Memory is still 2GB, private is over 600MB, no VM compress
What is the explanation to this, is there a real memory leak?
I can't use instrument to mark the memory, instrument won't be able to attach the process. I have spent quite some time with it, but no success yet.
When testing it on Big Sur Inter, the idle memory is under 250 MB. Real Memory less than 400MB, not VM Compressed.
When running heave memory function, the Memory increate to less than 700MB, with Real Mem about 900MB. Right after ending the function, the memory goes back almost the same as before starting.
But on M1, it is very different.
when idea, memory is under 200MB, Real 1GB, Private 150MB, no VM Compress
when running the function: memory is 700MB, Real 3GB, private 600MB no VM Comperss
After ending the function, memory is over 650MB, Real Memory is still 2GB, private is over 600MB, no VM compress
What is the explanation to this, is there a real memory leak?