HI James; I also am facing similar issue. Have you found any solution to this?
Upon page transition, it does not free-up memory. But yes, loading different content on same page, angular free up memory. On Thursday, April 11, 2013 6:56:20 PM UTC+5:30, James Morgan wrote: > > Hi all, > > we have recently gone live with our first angular js application but have > hit issues with memory usage increasing all the time? > > Our application drives a user around a workflow of screens, what we have > found is that as the user progresses through the application and back to > the beginning (which they will do potentially hundreds of times a day) the > footprint of our application quickly grows until eventually the browser > cannot handle it and crashes. > > The work around at present is simply to inform the users to logout when > they see the application hanging and then re-enter it, this seems to allow > the allocated memory to be free'd, but only once they have left the page. > > Our application is unfortunately tide to IE 8 which doesnt help the > situation but we are really stuck and not sure why it happens. > > After spending the last 2 days trying to diagnose the problem we are > stuck, the only common thing that has been noted is as the application > progresses the total number of 'Detached DOM tree' elements continues to > rise. > > Can anyone help with the following questions: > > 1) Could/is the fact that we have a growing number of 'Detached DOM tree' > be a cause of increasing memory? > 2) Is there anyway of maually freeing detatched DOM elements? > 3) Is there anyway of finding out where they came from and why they still > have references? > 4) Has anyone else run into similar issues on IE8 and know of any fixes? > > Any help would be greatly appreciated > > James > > > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
