cmadison0005
28 Jun 2012, 2:09 PM
Hey guys,
i have several views, containing grid panels, which are launched in the "center" region when a left nav bar button is clicked. Said navigation/rendering between/of the views seems to be working fine. The issue is with memory. Each view has one or more paged grid panels associated with it, and the stores for said grid panels are populated via an ajax proxy.
Here is the issue:
if i navigate between panels 1 and 2 (successfully showing the correctly paged data for grid panel 1 and 2 respectively) my memory allocation increases with each nav. I have tried explicitly calling removeAll from the store when its respective grid panel is destroyed, but this has little effect on the issue.
This memory leak eventually causes the application to become non responsive regardless of browser. (IE7/8/9, FF 13.0.1). Are there special garbage cleanup measures i need to be taking in terms of the stores since i am potentially reloading/refreshing/modifying the data numerous times?
i have several views, containing grid panels, which are launched in the "center" region when a left nav bar button is clicked. Said navigation/rendering between/of the views seems to be working fine. The issue is with memory. Each view has one or more paged grid panels associated with it, and the stores for said grid panels are populated via an ajax proxy.
Here is the issue:
if i navigate between panels 1 and 2 (successfully showing the correctly paged data for grid panel 1 and 2 respectively) my memory allocation increases with each nav. I have tried explicitly calling removeAll from the store when its respective grid panel is destroyed, but this has little effect on the issue.
This memory leak eventually causes the application to become non responsive regardless of browser. (IE7/8/9, FF 13.0.1). Are there special garbage cleanup measures i need to be taking in terms of the stores since i am potentially reloading/refreshing/modifying the data numerous times?