backbone.js - Backbone single page application - Memory leak -


i have got 6-7 pages application using backbone views, jquery , high charts. have noticed leaking memory. become unresponsive if leave running 10 minutes. suggested me destroy views when not in use , did according answer.

destroy or remove view in backbone.js

which improved app still have got memory issues. i'll appreciate if guide me in correct direction. there else can improve memory leaks?

most of memory leaks happen because of ghost events.

i suggest using listento when binding events inside views. calling view.remove() automatically unbind them.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -