internet explorer - Extjs 5 , Dynamic Grid Memory leak in IE? -
we using ext js 5.1.1.451
we have dynamic grid (paginated), populated 25 rows , around 230 columns (sometimes more).
following characteristics of grid:
it has 5 static columns (last 2 has combobox , text field - added editor)
it has checkboxmodel , cellediting plugin. (both of has rules in beforeselect , beforeedit listeners control editability)
remaining 225 columns dynamically calculated json response follows.
originally arnd 115 columns , based on flag decide whether make column editable. in case particular column editable, divide column 2 (example: if column name cost, name base_cost(this read-only field) , adjustable_cost(this editable field)). editable fields text field, attached cell editor.
when grid loads first time, load store, , data obtained have, column header details , row data.
so, first form columnhead header details, giving them editor, width, name, dataindex etc.
then transformation of row data (basically give individual dataindex newly formed base_cost , adjustable_cost columns.)
now grid.reconfigure(columnheads);
on final step, load transformed data same store : store.setdata(final transformed data);
so here problem i'm facing:
my customer requirement use ie (we using ie 11). when load grid, after store.setdata browser memory goes 260 mb 1.1 gb , when go next page on grid, memory again jumps 1.1 gb 1.5 gb , stays there.
first page grid load takes 40 secs , on second page takes > 2.5 minutes , 3rd page take > 3 mins , idea. main problem until grid loaded completely, browser going frozen state.
unfortunately, i'm not allowed post of code here due company's policies , wasn't able create fiddle situation either.
is there can reduce memory consumption ???
p.s : behaviour seen in ie , in firefox process quite fast , memory consumption below 500 mb under cases.
Comments
Post a Comment