One of our team members reported very high memory usage for our Network System Extension in Activity Monitor
. Therefore, to check for leaks and accumulating memory, I plugged it into Instruments
which shows quite low usage (~4MB) compared to Activity Monitor (40MB) at same moment. I am instrumenting release version of my extension (and App). So, my questions are:
- Why such a huge difference in these two tools?
- Which one should be considered more authentic/valid memory usage
- Is there any upper limit for Network System Extension? From my iOS experience, I remember iOS has 15MB limit for Network Extensions. Is there any such limit for Network System Extensions?