Reputation: 33297
I have a iOS app based on Cordova/PhoneGap. When profiling my app with XCode Instruments I get the following output:
You can see that the memory consumption is always increasing.
Is there a way to detect my JavaScript memory leaks in my Cordova App?
Upvotes: 4
Views: 1175
Reputation: 1822
You need to use safari and attach the developer tools to your debugging device. Instruments is helpful for showing memory usage, but it can't see the code inside your cordova app.
Upvotes: 1