<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Clearing Entity/Query Cache (memory leak)</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2009 : Clearing Entity/Query Cache (memory leak)</description>
  <pubDate>Fri, 15 May 2026 15:41:33 -700</pubDate>
  <lastBuildDate>Wed, 18 May 2011 15:36:50 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=2686</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Clearing Entity/Query Cache (memory leak) : Good to know, Paul. Let me know...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2686&amp;PID=10749#10749</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1097" rel="nofollow">robertg</a><br /><strong>Subject:</strong> 2686<br /><strong>Posted:</strong> 18-May-2011 at 3:36pm<br /><br /><P>Good to know, Paul. Let me know if you run into any other oddities, and we'll see what we can find.</P>]]>
   </description>
   <pubDate>Wed, 18 May 2011 15:36:50 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2686&amp;PID=10749#10749</guid>
  </item> 
  <item>
   <title>Clearing Entity/Query Cache (memory leak) : Using version 3.7.1.0  Ah indeed...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2686&amp;PID=10748#10748</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1156" rel="nofollow">tooms</a><br /><strong>Subject:</strong> 2686<br /><strong>Posted:</strong> 18-May-2011 at 3:26pm<br /><br /><DIV>Using version 3.7.1.0</DIV><DIV>&nbsp;</DIV><DIV>Ah indeed RemoveEntities does indeed work, that's good news.</DIV><DIV>&nbsp;</DIV><DIV>I also started cleaing my grid controls data/binding source and that seems to make the .Clear() calls work, but they take longer to cleanup than RemoveEntities.</DIV><DIV>&nbsp;</DIV><DIV>I'm not yet convinced, I still have definite memory leaks ... But there may be other culprits. </DIV><DIV>&nbsp;</DIV><DIV>Cheers,</DIV><DIV>Paul Twomey</DIV><DIV>MEX</DIV>]]>
   </description>
   <pubDate>Wed, 18 May 2011 15:26:27 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2686&amp;PID=10748#10748</guid>
  </item> 
  <item>
   <title>Clearing Entity/Query Cache (memory leak) :   Paul,  Do you still see...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2686&amp;PID=10744#10744</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1097" rel="nofollow">robertg</a><br /><strong>Subject:</strong> 2686<br /><strong>Posted:</strong> 18-May-2011 at 12:03pm<br /><br />Paul,<div>&nbsp;</div><div>Do you still see this symptom if you use <em>RemoveEntities</em> instead? Also, what version of DevForce 2009 are you using, and is there any chance you could upload your test solution for me to take a look at? I'll certainly test this to see if there's a problem, but it might just be that the cleanup hasn't occurred yet. I don't know when garbage collection occurs for <i>Clear </i>and will ask.<br></div><div>&nbsp;</div><div>-- Robert</div><span style="font-size:10px"><br /><br />Edited by robertg - 18-May-2011 at 12:23pm</span>]]>
   </description>
   <pubDate>Wed, 18 May 2011 12:03:08 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2686&amp;PID=10744#10744</guid>
  </item> 
  <item>
   <title>Clearing Entity/Query Cache (memory leak) : I&amp;#039;m investigating memory...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2686&amp;PID=10728#10728</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1156" rel="nofollow">tooms</a><br /><strong>Subject:</strong> 2686<br /><strong>Posted:</strong> 17-May-2011 at 3:21pm<br /><br />I'm investigating memory leaks within our application and set up a small test app to narrow them down.<DIV>&nbsp;</DIV><DIV>When I grab data using the PeristenceManager I can see the increase in memory use equivelant to the amount of data retrived. However when I clear those entities from the cache, the memory does not decrease. If the entities are grabbed again, the memory is increased by the same amount. If I continue this loop I can blowout memory use to the point where the application fails.</DIV><DIV>&nbsp;</DIV><DIV>I have two questions.</DIV><DIV>&nbsp;</DIV><DIV>I clear the cache using QueryCache.Clear() and DataSet.Clear()&nbsp; ... Is this the correct way to do so?</DIV><DIV>&nbsp;</DIV><DIV>and if this is the correct way, then it appears there is a memory leak within Ideablade. If a query increased memory use by 50mb (example only) and&nbsp;I then clear that cache, that 50mb is not released. Grabbing that data again increases memory use by another 50mb (100mb in total).</DIV><DIV>&nbsp;</DIV><DIV>Cheers,</DIV><DIV>Paul Twomey</DIV><DIV>MEX</DIV>]]>
   </description>
   <pubDate>Tue, 17 May 2011 15:21:28 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2686&amp;PID=10728#10728</guid>
  </item> 
 </channel>
</rss>