Skip to content
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

Huge Memory Leak with ionicframework #270

Open
kamleshkoringa opened this issue Aug 21, 2014 · 3 comments
Open

Huge Memory Leak with ionicframework #270

kamleshkoringa opened this issue Aug 21, 2014 · 3 comments

Comments

@kamleshkoringa
Copy link

Hi
I am using angular-nvd3-directives chart with AngularJs/ionicframework. After visiting multiple time on chart page memory consumption by application increased and never got garbage collection. On memory profile in chrome development tool I can see huge SVGCircleElements and Detached Dom tree used by this chart. Please let me know proper way to clean up chart. I have tried many way but it is not working properly.

image

@ceefour
Copy link
Contributor

ceefour commented Oct 3, 2014

interesting...

@adressin
Copy link

+1... I'm seeing this as well. Also see this issue: #193

@ali-bugdayci
Copy link

This is not specific to the ionic framework. It's same on web based apps too.

I am getting a 7mb memory leaks for each visit on the same page.(2 pages 1 with the nvd3 graphs). The leaks can be seen from the following images:

Leaks

I believe this might be an issue with nvd3 or d3 holding onto the data. It is best to add a section on how to garbage collect the data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants