This content has been marked as final. Show 5 replies
Steps to reproduce the problem:
1. save the following code as test4.cfm
2. run the code, the page will refresh every 2 seconds (mimics a user browsing on your website)
3. press ctrl-alt-del, open the task manager, find the iexplore.exe task and watch the mem usage going up!
<cfif not isdefined('url.cfgridpage')>
<meta http-equiv="refresh" content="2">
Browser memory test - clearly shows the cfgrid leaking!
<cfgrid name="browseGrid" format="html"
<cfquery datasource="cfartgallery" name="qRead">
select * from app.artists
<cfoutput>#serializeJSON(queryConvertForGrid(qRead, cfgridpage, cfgridpageSize))#</cfoutput>
just because cfgrid is 'leaking' in one browser [known for bad js
handling] it does not mean it is leaking... did you test it in FF,
Safari, Opera, other versions of IE, etc both on Win and Mac?
I'm using CF8.0.1 with all hotfixes applied and the problem occurs in IE7 (and most probably on all other browsers as well, but this was untested).
We have the same problem, but with tab layouts in a cfwindow. This happens with either CF8 or 8.01 on either Server2003 or Server2008 64bit. It only happens with IE - NOT with FireFox. FireFox has it's own issues with the EXT package but memory hogging is not one of them. FF adds about 10K for the same window that IE adds almost 100k for.
I tried using the EXT destroy() method for both the dialog and tab layout and it helps a little but IE just won't give back all that memory.