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
Post a Comment