Welcome Guest, Not a member yet? Register   Sign In
flexigrid in ajax page
#1

[eluser]Unknown[/eluser]
Hi all,
i have a little question about a flexigrid..
i load ajax page dinamically and in this page
i create a flexigrid...
when i reload a page with another ajax content and flexigrid ,
the previous grid is destroyed and the memory is free??

and exist a mode to destroy current flexigrid and create another grid
with no memory leak in the same page ?

Tnx !!
PS: sorry for my english.
#2

[eluser]Michael Wales[/eluser]
It depends on the browser's garbage handling routines.

I believe, right now, all the major players in the browser field would continue to eat up memory with each AJAX request. I've never dove in and really experimented - but I know after a few hours on slacker.com or meebo.com - Firefox's used memory can get astronomical.
#3

[eluser]paulopmx[/eluser]
[quote author="Ph03n1x" date="1213023404"]Hi all,
i have a little question about a flexigrid..
i load ajax page dinamically and in this page
i create a flexigrid...
when i reload a page with another ajax content and flexigrid ,
the previous grid is destroyed and the memory is free??

and exist a mode to destroy current flexigrid and create another grid
with no memory leak in the same page ?

Tnx !!
PS: sorry for my english.[/quote]

Hi,

Flexigrid does its own garbage collection for its own methods only. Ex. loading new data.

Usually memory leaks occur when destroying elements, without unbinding their methods first.

So it would really depend on your implementation, and on whether you cleanup after using ajax.




Theme © iAndrew 2016 - Forum software by © MyBB