<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>jQuery Grid Plugin - jqGrid - Topic: Memory Usage Problems</title>
	<link>http://www.trirand.com/blog/?page_id=393/discussion/memory-usage-problems</link>
	<description><![CDATA[Grid plugin]]></description>
	<generator>Simple:Press Version 5.7.5.3</generator>
	<atom:link href="http://www.trirand.com/blog/?page_id=393/discussion/memory-usage-problems/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Memory Usage Problems</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/memory-usage-problems#p16315</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/memory-usage-problems#p16315</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>You can look here:</p>
<p><a href="http://github.com/tonytomov/jqGrid/commit/52c668d0f435ec2f92e96e6b13c0dc76c2be9336" rel="nofollow" target="_blank"><a href="http://github.com/tonytomov/jq" rel="nofollow">http://github.com/tonytomov/jq</a>.....76c2be9336</a></p>
</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 08 Apr 2010 20:49:08 +0300</pubDate>
        </item>
        <item>
        	<title>netcurtains on Memory Usage Problems</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/memory-usage-problems#p16314</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/memory-usage-problems#p16314</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I&#8217;ve put a JavaScript set interval function around your jqGrid plug-in&#8217;s Ajax process with a 5 second interval. After about 1 minute in both Firefox and IE7 the memory usage statistics show that between 500K and 1000K is leaked per minute.</p>
<p>The problem appears to be the emptyRows function in conjunction with the AddXmlData function.</p>
<p>I say this because if I comment out this line (see below)in addXmlData no memory is leaked:</p>
<p>&#160;&#160;&#160;&#160;&#160; $("tbody:first",t).append(rowData.join(&#39;&#39;)); </p>
<p>This implies that the DOM clear-up function (emptyRows) is not &#8220;totally&#8221; emptying the rows that have been appended &#8211; something is getting left behind.&#160;&#160;&#160;&#160;&#160;</p>
</p>
<p>My set interval function is coded thus: &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </p>
<p>&#160; setInterval(function()&#160;&#160; &#160;&#160;&#160; &#160;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{<br />&#160;&#160; &#160;&#160;&#160; &#160; &#160;&#160;&#160; &#160;&#160; ajaxProcessing(2,dt,adjust,rcnt,npage,lc);<br />&#160;&#160; &#160;&#160;&#160; &#160;},5000);</p>
<p>Can you offer me any advice?</p>
<p>JH</p>
]]></description>
        	        	<pubDate>Thu, 08 Apr 2010 19:32:55 +0300</pubDate>
        </item>
</channel>
</rss>