Memory leak detection in iOS Cordova 4.0

I have an iOS application based on Cordova / PhoneGap. When profiling my application using Xcode Instruments, I get the following output:

enter image description here

You can see that memory consumption is always increasing.

Is there a way to detect JavaScript memory leaks in my Cordova app?

+4
source share
1 answer

You need to use safari and attach the developer tools to your debugging device. The tools are useful for displaying memory usage, but it cannot see the code inside your cordova application.

+1
source

All Articles