2 Aug 2012 5:22 AM #11
Thanks for the answer!
~ 1 hour testing time increased memory from ~38000 KB to 63780 KB.
Then called CollectGarbage() on the console and it became 63144 KB. So, only ~600 KB off.
I call it several times more - no significant effect. Just a few bytes up and down.
So, I can say it doesn't help.
10 Aug 2012 5:35 AM #12
Bump...this is a show stopper...
13 Nov 2012 4:38 AM #13
I create real-time reporting and monitoring applications using ExtJS, so it is crucial for me to fix this. As I suspected, there are two separate issues here:
1. ExtJS uses Douglas Crockford's implementation of JSON parser, which is the problem. I have swapped the parser for this one: http://code.google.com/p/json-sans-eval/ and that stopped the leaks.
Just include the above parser and patch ExtJS like this:
Ext.util.JSON.decode = jsonParse; Ext.decode = jsonParse;
I was able to run my test case with the above modifications for 2 days without any leaks.
The same applies to ExtJS 4.x
Hope this will help.
13 Nov 2012 6:48 AM #14
This could prove to be very helpful information. But you make two very broad statements without any explanation. Can you please explain why it is that you feel that the Douglas Crockford implementation of JSON parse is the culprit, and why you think auto-generated IDs cause leaks?
13 Nov 2012 8:35 AM #15
Unfortunately I don't have enough time to identify which code actually causes the leaks. I can only do my best to help all of us fixing this problem by providing test cases and a workaround without an explanation. Please verify my claims and correct me if they are wrong.
3 May 2013 6:56 AM #16
Memory Leak with GridPanel and Data Store
Hi Ext Team,
My whole application is build on the ExtJs API and now we are facing the same memory leak issue. We are working on lots of data and we present it on Grid using Data stores. When opening the same grid panel again and again, the browser memory keeps growing and becomes unresponsive after some time. I found this thread after searching for any solution. I did not see any last response with the issue to be fixed. Can you suggest any solution of the issue. It will be a great help.
2 Jun 2013 10:28 PM #17
Are you using ExtJS 3 or 4?
EDIT: I think I reproduced it with ExtJS 4.
Also I can confirm that the issue is still actual for ExtJS 3.
3 Jun 2013 5:58 AM #18
You'd think that 22 months would be enough time for Sencha to 'review' this problem...
Anyone else worried about being dependent upon Sencha's support?
Last edited by rich02818; 3 Jun 2013 at 10:31 AM. Reason: actual first report was Aug 2011 not 2012
26 Jun 2014 5:17 AM #19
What´s the actual status? Is Sencha working on this issue? I have this problem in my web application with ExtJS 3.4.1. And to answer the possible question: No, it´s no option to increase the refresh limit of 5 seconds.
26 Jun 2014 6:08 AM #20
Has anyone tried to apply suggestions from post #13?