<?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 : UseCustomHeap(), ReserveSize(), other....</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : UseCustomHeap(), ReserveSize(), other....]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 18 Apr 2026 05:38:22 +0000</pubDate>
  <lastBuildDate>Mon, 17 Mar 2008 14:39:22 +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=9888</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[UseCustomHeap(), ReserveSize(), other.... : Hi David,The best explanation...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9888&amp;PID=32336&amp;title=usecustomheap-reservesize-other#32336</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=669">markr</a><br /><strong>Subject:</strong> 9888<br /><strong>Posted:</strong> 17 March 2008 at 2:39pm<br /><br />Hi David,<br><br>The best explanation I've found of these methods can be found here:<br><br>https://forum.codejock.com/forum_posts.asp?TID=7921&amp;KW=UseReportCustomHeap<br><br>Look for Sergey's response post, currently near the bottom of the thread.<br><br>This is the kind of stuff I wish CodeJock would address more thoroughly - either via the product documentation or in knowledge base articles of some kind.<br><br>Anyway, I believe you'll need to produce a release build of your application to notice the effect of these methods.]]>
   </description>
   <pubDate>Mon, 17 Mar 2008 14:39:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9888&amp;PID=32336&amp;title=usecustomheap-reservesize-other#32336</guid>
  </item> 
  <item>
   <title><![CDATA[UseCustomHeap(), ReserveSize(), other.... : I have five separate reports,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9888&amp;PID=32244&amp;title=usecustomheap-reservesize-other#32244</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=374">ddlittle</a><br /><strong>Subject:</strong> 9888<br /><strong>Posted:</strong> 13 March 2008 at 10:59pm<br /><br />I have five separate reports, each with around 150,000 lines (sometimes even more).&nbsp; right now, i populate each row one at a time, and it takes around 30 seconds to complete.&nbsp; I noticed a couple of functions in 11.22 called UseReportCustomHeap(), Use RowBatchAllocation(), and CXTPReportRows::ReserveSize().&nbsp; I put UseReportCustomHeap() and UseRowBatchAllocation() in my apps, initinstance and it made report creation take 40 seconds instead of 30.&nbsp; I removed UseRowBatchAllocation() and it reverted to 30 seconds.&nbsp; I found ReserveSize() in the header, which I call like this:<DIV>&nbsp;</DIV><DIV>m_DrawingReport.GetRows()-&gt;ReserveSize(25000,25000);</DIV><DIV>&nbsp;</DIV><DIV>That had noaffect at all.&nbsp; I stepped into it, and it calls CArray::SetSize(), but changes my numbers to growby 1 and maxsize=10.&nbsp; I must be using them wrong.&nbsp; </DIV><DIV>&nbsp;</DIV><DIV>Does anybody have any ideas?</DIV><DIV>&nbsp;</DIV><DIV>Thanks!</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>- David Little</DIV><DIV>- Houston Texas</DIV>]]>
   </description>
   <pubDate>Thu, 13 Mar 2008 22:59:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9888&amp;PID=32244&amp;title=usecustomheap-reservesize-other#32244</guid>
  </item> 
 </channel>
</rss>