简体   繁体   中英

App is increasing Memory when push/pop page (OnsenUI+Cordova+Angular)

I'm using the OnsenUI (1.1.0) + Cordova (3.5.0) + Angular (1.2.21) for my App project. In my tests, the app crashes on iOS.

So, I started to monitor that in XCode Memory/Performance Panel and I see that the memory is ever increased when it pop/puhsh Pages and sometimes it crashes. (I received a memory warnings too)

I monitored on Chrome Browser (in Windows)and the memory is increased too (but it doesn't crash)

I try the sample from OnsenUI site and the behavior is the same.

There is a workaround for this? Or, Do they have this problem?

Thanks in advance.

Anderson

Thanks for report. We are checking this issue. One problem is 'onClick' attribute which causes a Memory-leak. Please use addEventListener method.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM