Profiling my app memory on Android, it's increasing a lot but not in iOS and Browser, could anyone help me figure out what's going on?


#1

I “hosted” this file at Github, you can download it https://github.com/felquis/profiling

I disabled JS Scrolling for Android…

Also a Print Screen, you can clearly see something like a “infinite loop”…
CloudApp

Focused in one dot
CloudApp

I couldn’t find the source of this. My app uses refresher and infinite-scroll… It causes my app to freeze, it doesn’t crash, it just freeze the UI and keep the app open.

Browser emulating Nexus 5: 10s with no actions:
CloudApp

Browser emulating iOS: 10s with no actions:
CloudApp

Browser with no emulating: 10s with no actions:
CloudApp

I hope someone could help me.


#2

I commented this line:

// if(!ionic.Platform.isIOS()) {
// $ionicConfigProvider.scrolling.jsScrolling(false);
// }

And the memory only in Android still increasing, speeding up like a rocket :o