Michael
Michael

Reputation: 33297

Detect Memory Leaks in iOS Cordova 4.0 App

I have a iOS app based on Cordova/PhoneGap. When profiling my app with XCode Instruments I get the following output:

enter image description here

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

Answers (1)

catbadger
catbadger

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

Related Questions