Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
memory not released after window close()
21/01/2010
15:23
Avatar
dirk
Member
Members
Forum Posts: 14
Member Since:
21/01/2010
sp_UserOfflineSmall Offline

hello,

I have 1 main page that uses a window.open() to another pages, containing a JQGRid (which works perfect by the way).

When Imonitor the memory consumption, I see then when openeing this 2nd page approx 2MB is added, but when closing it, only a portion of that is returned. Another strange thing is that this only happens with IE7, so not (or not so obvious anyhow) on IE8, firefox 3.5 and IE6.

I have been trying to localize the issue, but without any success.

any ideas where to look?

thanks

dirk

24/01/2010
18:56
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

Thanks for the investigation.

I think that the problem is in the IE JS garbage collector. We have created a special unload functon for IE browsers, but since you use

window.open, then the browser should have decision what to clear after the windows is closed.

Best Regards

Tony

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

27/01/2010
11:03
Avatar
dirk
Member
Members
Forum Posts: 14
Member Since:
21/01/2010
sp_UserOfflineSmall Offline

hello,

I have been investigating further, but the same issue arise with firefox (3.5) as well, only in a smaller way.

Do you have any idea on how to solve this. I did a 'refresh' of the same page, lest say 50 times, and the memory did not go up. only when you close and open the window via window.open() it goes up very very quick. Is there a way to get official support for this? I'm evaluating your product for purchasing, after a series of test the memory is the only one left open.

do you have some pointers or areas to look into to see what is causing this? (i have already tried the new jquery 1.4, but the issue is still the same). so in this case it has nothing to do with loading data etc into the grid, just openening and closing the window is already enough to get an issue with the memory

thanks in advance to reply

Dirk

27/01/2010
11:03
Avatar
dirk
Member
Members
Forum Posts: 14
Member Since:
21/01/2010
sp_UserOfflineSmall Offline

hello,

I have been investigating further, but the same issue arise with firefox (3.5) as well, only in a smaller way.

Do you have any idea on how to solve this. I did a 'refresh' of the same page, lest say 50 times, and the memory did not go up. only when you close and open the window via window.open() it goes up very very quick. Is there a way to get official support for this? I'm evaluating your product for purchasing, after a series of test the memory is the only one left open.

do you have some pointers or areas to look into to see what is causing this? (i have already tried the new jquery 1.4, but the issue is still the same). so in this case it has nothing to do with loading data etc into the grid, just openening and closing the window is already enough to get an issue with the memory

thanks in advance to reply

Dirk

27/01/2010
16:56
Avatar
dirk
Member
Members
Forum Posts: 14
Member Since:
21/01/2010
sp_UserOfflineSmall Offline

hello,

do you mean the gridunload() function?

28/01/2010
17:54
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

Could you please make the following test.

In the window.open do not use jqGrid, but let say a lot of things like tabs or accordeon or so on. Is the memory released after you close the window the same way as you do it with jqGrid?

Best Regsrds

Tony

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

08/02/2010
17:15
Avatar
dirk
Member
Members
Forum Posts: 14
Member Since:
21/01/2010
sp_UserOfflineSmall Offline

I beleive I found the issue. It was related to a bunch of addons that where causing the momory not to be released. After I throw themaway it was ok

thanks

dirk

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
71 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

OlegK: 1255

markw65: 179

kobruleht: 144

phicarre: 132

YamilBracho: 124

Renso: 118

Member Stats:

Guest Posters: 447

Members: 11373

Moderators: 2

Admins: 1

Forum Stats:

Groups: 1

Forums: 8

Topics: 10592

Posts: 31289

Newest Members:

, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information