There is a definite memory increase when using GridPanel with a store. Every time the store is reloaded and grid is rendered, the browser consumes more memory and it does not seem to free it. Best example is IE, which can consume over 1GB and crash within 30 minutes using the attached code.
Working code is attached. Unzip it into ext/examples
Steps to reproduce the problem:
Open Click on Autorefresh button
Observe memory consumption using e.g. sieve or Sysinternals Process Explorer
I have the same problem with a memory leak in a REST store in both v4 and v5.
I create a v5 app using sencha cmd, added a REST store and a dynamic task in which I load/reload the store every 1 second, nothing else going on, just the load, but in less than a day both FF and chrome will crash because of the memory leak.
It looked like a problem with the data.proxy.Rest reader, but it was to difficult to work out exactly what was leaking. In the end I decided to bypass the data.proxy.Rest reader and write my own simple XMLHttpRequest handler, manually loading the response into the store.
This solved the leak in the store but now I have a chart linked to another store that is updating every 4 seconds and the chart seems to be leaking memory as well.
Does everything in EXT leak? Any attempt at writing a serious SPA that's intended to run continually seems doomed to fail.