-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory leak when switching between views #5743
Comments
Hello! Thanks for opening an issue with us, we just need a little more info from you so that we can better help you with your issue. Would you mind posting a code sample, plunkr or codepen that we can use to reproduce your issue? Also, would you mind running |
Hi Thanks |
@Pyroon, will have to do some testing of my own, Thanks! Are you using chrome dev tools to inspect memory usage? |
Yes, but you can see it best when running the app on the iOS simulator (e.g. ipad simulator) and inspecting the memory usage with xcode. |
@Pyroon Are you using any external libraries? |
I use some plugins like those:
additionally, I'm using ng-websocket |
Hi @Pyroon, Can you provide a codepen to recreate this? Let's try to limit external dependencies so we can determine if this is an Ionic issue or a cordova issue. Thanks, |
Hi |
@Pyroon so are you not having the memory leak anymore? Also if you can, could your provide a plunkr or codepen that demonstrates this issue? Thanks! |
Hi |
@Pyroon sounds good then! Thanks for using ionic! |
@jgw96 @Pyroon is this problem resolved ? it still exists on [email protected] |
Seems to be an angular and not ionic issue @dig1234 |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
When Switching between Tabs / Views, the used memory is increased by 0.3-0.7 MB each switch.
This happens also, when the app content (ion-content) is completely blank and all functionalities within controller.js/app.js are commented out.
Ionic Version: 1.2.4
Cordova version: [email protected]
Browser & Operating System: iOS
Run
ionic info
from terminal/cmd prompt:The text was updated successfully, but these errors were encountered: