I have an iOS application based on Cordova / PhoneGap. When profiling my application using Xcode Instruments, I get the following output:
You can see that memory consumption is always increasing.
Is there a way to detect JavaScript memory leaks in my Cordova app?
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.