<?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="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Severe Memory Leak When Item Caption Explicitly Se</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Severe Memory Leak When Item Caption Explicitly Se]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 18 Apr 2026 03:25:54 +0000</pubDate>
  <lastBuildDate>Thu, 20 Sep 2007 17:45:55 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=7916</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Severe Memory Leak When Item Caption Explicitly Se : See http://forum.codejock.com/...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7916&amp;PID=26206&amp;title=severe-memory-leak-when-item-caption-explicitly-se#26206</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 7916<br /><strong>Posted:</strong> 20 September 2007 at 5:45pm<br /><br />See <a href="http://forum.codejock.com/forum_posts.asp?TID=7921" target="_blank">http://forum.codejock.com/forum_posts.asp?TID=7921</a><br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Thu, 20 Sep 2007 17:45:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7916&amp;PID=26206&amp;title=severe-memory-leak-when-item-caption-explicitly-se#26206</guid>
  </item> 
  <item>
   <title><![CDATA[Severe Memory Leak When Item Caption Explicitly Se : Hi There, We have been using...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7916&amp;PID=25461&amp;title=severe-memory-leak-when-item-caption-explicitly-se#25461</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=902">dhugal</a><br /><strong>Subject:</strong> 7916<br /><strong>Posted:</strong> 01 September 2007 at 9:25am<br /><br /><P>Hi There,</P><P>We have been using the Code Jock controls for some time but just recently our application<a href="https://forum.codejock.com/uploads/20070901_092442_ReportC&#111;ntrolMe.zip" target="_blank">uploads/20070901_092442_ReportControlMe.zip</A> seems to be using a lot lot more ram. I did some investigation and it appears that when we use the Report Grid control and add a lot of items where we set the caption to be different from the value (we do this for all numeric &amp; date fields because we format them nicely for the user) the grid exhibits a severe memory leak.</P><P>I have put together an example project demonstrating this. If you fill the grid with 20,000 rows each the control consumes a fair amount of ram as expected - when you then clear it all of that ram is freed (correction - most). If however you fill it with the same number of rows and explicitely set the caption on each of the values the grid consumes a lot of ram again but when you clear it is not all freed - in fact a large percent is never freed. When I am running this in a VB6 IDE the ram isn't even freed when I close the application and I have to terminate the IDE to free it.</P><P>The memory figures (KB) with 20,000 records / 40 Columns are as follows:</P><P>Project started in IDE and form displayed: 14,920<BR>Grid filled with rows but Caption not set: 198,824<BR>Grid then cleared: 17,272 <BR>(A slight gain that needs to be checked we have lost 3 meg somewhere)<BR>Grid then filled with rows and Caption set explicitely: 261,868<BR>Grid then cleared: 129,352<BR><strong>(We have lost over 100 meg of ram somewhere!)</P><DIV></strong><BR>App closed return to VB design environmentGrid then cleared: 129,380</DIV><DIV><strong>(We have still not reclaimed the missing 100 meg!)</strong></DIV><P>This is obviously very urgent for us as we are using this with a very high number of users in a Terminal Services environment so any memory leaks result in degredation of the server performance and eventual crashes in our application.</P><P>Can you give me an estimate for a fix please?</P><P>Dhugal.</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Sat, 01 Sep 2007 09:25:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7916&amp;PID=25461&amp;title=severe-memory-leak-when-item-caption-explicitly-se#25461</guid>
  </item> 
 </channel>
</rss>