<?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>Debenu Quick PDF Library - PDF SDK Community Forum : PDfium memory consumption</title>
  <link>http://www.quickpdf.org/forum/</link>
  <description><![CDATA[This is an XML content feed of; Debenu Quick PDF Library - PDF SDK Community Forum : I need help - I can help : PDfium memory consumption]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 12 May 2026 05:30:37 +0000</pubDate>
  <lastBuildDate>Fri, 17 Apr 2020 10:10:00 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 11.01</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.quickpdf.org/forum/RSS_post_feed.asp?TID=3802</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Debenu Quick PDF Library - PDF SDK Community Forum]]></title>
   <url>http://www.quickpdf.org/forum/forum_images/QPDF_Forum_Title.png</url>
   <link>http://www.quickpdf.org/forum/</link>
  </image>
  <item>
   <title><![CDATA[PDfium memory consumption : &amp;#034;...The problem is in RenderPageToString...]]></title>
   <link>http://www.quickpdf.org/forum/pdfium-memory-consumption_topic3802_post15206.html#15206</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 3802<br /><strong>Posted:</strong> 17 Apr 20 at 10:10AM<br /><br />"...<br>The problem is in RenderPageToString which calls&nbsp;DPLRenderPageToString where the memory leak occurs.<br>..."<br><br>and the render-function calls PDFium inside.<br>Again: Try Google regarding memory consumption by PDFium.<br>You can check it very easily if it's PDFium or the QP-function:<br>Change your code and kick off PDFium - what's the result now... better?<br><br>If you won't succeed with your trys you should ask the publishers of the library via the official support page.<br><br>]]>
   </description>
   <pubDate>Fri, 17 Apr 2020 10:10:00 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/pdfium-memory-consumption_topic3802_post15206.html#15206</guid>
  </item> 
  <item>
   <title><![CDATA[PDfium memory consumption : I&amp;#039;m using c#and usng debenu...]]></title>
   <link>http://www.quickpdf.org/forum/pdfium-memory-consumption_topic3802_post15205.html#15205</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2828">pdfuserxx</a><br /><strong>Subject:</strong> 3802<br /><strong>Posted:</strong> 17 Apr 20 at 9:59AM<br /><br />I'm using c#and usng debenu to convert pdf document to png , most of the files consist from single page.<div>DA functions are not used as the application is working with in memory streams.</div><div><br></div><div>The code is fairly simple:</div><div><br></div><div>dynamic newPdfLibrary = new DebenuPDFLibraryDLL1711.PDFLibrary(librarypath);&nbsp;&nbsp;</div><div>newPdfLibrary.SetPDFiumFileName(pdfiumdllpath);</div><div>newPdfLibrary.SelectRenderer(4)</div><div><br></div><div>//load the document from memory stream</div><div>pdfLibrary.LoadFromString(ms.ToArray(), string.Empty)&nbsp;</div><div>//select the document&nbsp;</div><div>int documentID = pdfLibrary.SelectedDocument();</div><div>//render&nbsp;</div><div>pdfLibrary.RenderPageToString(300, 1, 0);</div><div><br></div><div>//cleanup</div><div>pdfLibrary.RemoveDocument(documentID);</div><div><div>pdfLibrary.DestroyRenderer();</div><div>pdfLibrary.ReleaseLibrary();</div><div>pdfLibrary = null;</div></div><div><br></div><div>The problem is in RenderPageToString which calls&nbsp;DPLRenderPageToString where the memory leak occurs.</div><div><br></div><div>regards</div>]]>
   </description>
   <pubDate>Fri, 17 Apr 2020 09:59:24 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/pdfium-memory-consumption_topic3802_post15205.html#15205</guid>
  </item> 
  <item>
   <title><![CDATA[PDfium memory consumption : In the developer guide you should...]]></title>
   <link>http://www.quickpdf.org/forum/pdfium-memory-consumption_topic3802_post15199.html#15199</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 3802<br /><strong>Posted:</strong> 16 Apr 20 at 10:45AM<br /><br />In the developer guide you should read the chapter:<br>Memory and direct access functions<br><br>]]>
   </description>
   <pubDate>Thu, 16 Apr 2020 10:45:39 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/pdfium-memory-consumption_topic3802_post15199.html#15199</guid>
  </item> 
  <item>
   <title><![CDATA[PDfium memory consumption : This small pdf won&amp;#039;t be responsible...]]></title>
   <link>http://www.quickpdf.org/forum/pdfium-memory-consumption_topic3802_post15198.html#15198</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 3802<br /><strong>Posted:</strong> 16 Apr 20 at 10:38AM<br /><br />This small pdf won't be responsible for great memory consumption.<br>I don't know your dev.language and you don't post the real code but if you've free the library itself the problem can only be the PDFium-handling itself.<br><br>About DA-functionality:<br>You're registered here for more than four years now and don't know the online resources?!<br><br>Here for a common start:<br>http://www.quickpdf.org/<br><br>Here to read about the direct access functionality (DA):<br>https://www.debenu.com/docs/pdf_library_reference/FunctionGroups.php<br><br>Here to search about anything regarding QuickPDF:<br>https://www.debenu.com/docs/pdf_library_reference/Search.php<br><br>Here you can choose your developer-guide:<br>https://www.debenu.com/products/development/debenu-pdf-library/help/developer-guide/<br><br><br>]]>
   </description>
   <pubDate>Thu, 16 Apr 2020 10:38:24 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/pdfium-memory-consumption_topic3802_post15198.html#15198</guid>
  </item> 
  <item>
   <title><![CDATA[PDfium memory consumption : The page size is 3x2 inch and...]]></title>
   <link>http://www.quickpdf.org/forum/pdfium-memory-consumption_topic3802_post15197.html#15197</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2828">pdfuserxx</a><br /><strong>Subject:</strong> 3802<br /><strong>Posted:</strong> 16 Apr 20 at 9:13AM<br /><br />The page size is 3x2 inch and the file itself is approx 50 kb, but similar results can be observed with other pdf files.&nbsp;<div>Sorry for the question, but what is DA functionality?</div><div><br></div><div>May be but, I can only access PDFium functionality thru PDF functions. I'm using PDfium, because there ware same issues with default renderer.&nbsp;</div><div><br></div><div>regards</div>]]>
   </description>
   <pubDate>Thu, 16 Apr 2020 09:13:04 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/pdfium-memory-consumption_topic3802_post15197.html#15197</guid>
  </item> 
  <item>
   <title><![CDATA[PDfium memory consumption : If it&amp;#039;s a QuickPDF-issue:QuickPDF...]]></title>
   <link>http://www.quickpdf.org/forum/pdfium-memory-consumption_topic3802_post15196.html#15196</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 3802<br /><strong>Posted:</strong> 16 Apr 20 at 8:03AM<br /><br />If it's a QuickPDF-issue:<br><br>QuickPDF 16 and newer reduced memory consumption down to half.<br>How big (pages) are your pdf-files?<br>What's always better for bigger files is using the DA-functionality (but never mix DA- and Non-DA-functions).<br><br>Here's a kb-document about how to use an external renderer:<br>https://www.debenu.com/kb/use-rendering-printing-add-debenu-quick-pdf-library/<br><br>I think more that it's a PDFium-issue itself:<br><br>Try Google with "PDFium release memory"...<br>There's a lot.<br><br>]]>
   </description>
   <pubDate>Thu, 16 Apr 2020 08:03:12 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/pdfium-memory-consumption_topic3802_post15196.html#15196</guid>
  </item> 
  <item>
   <title><![CDATA[PDfium memory consumption : I&amp;#039;m already calling &amp;#034;ReleaseLibrary&amp;#034;...]]></title>
   <link>http://www.quickpdf.org/forum/pdfium-memory-consumption_topic3802_post15194.html#15194</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2828">pdfuserxx</a><br /><strong>Subject:</strong> 3802<br /><strong>Posted:</strong> 16 Apr 20 at 6:54AM<br /><br />I'm already calling "ReleaseLibrary" which calls&nbsp;DPLReleaseLibrary and FreeLibrary but the memory is not being released.<div><br></div><div>regards&nbsp;</div>]]>
   </description>
   <pubDate>Thu, 16 Apr 2020 06:54:30 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/pdfium-memory-consumption_topic3802_post15194.html#15194</guid>
  </item> 
  <item>
   <title><![CDATA[PDfium memory consumption : Hi,regarding the instance the...]]></title>
   <link>http://www.quickpdf.org/forum/pdfium-memory-consumption_topic3802_post15188.html#15188</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 3802<br /><strong>Posted:</strong> 10 Apr 20 at 2:33PM<br /><br />Hi,<br /><br />regarding the instance the library itself offers "free"... <br />]]>
   </description>
   <pubDate>Fri, 10 Apr 2020 14:33:08 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/pdfium-memory-consumption_topic3802_post15188.html#15188</guid>
  </item> 
  <item>
   <title><![CDATA[PDfium memory consumption : I&amp;#039;m using PDFium renderer...]]></title>
   <link>http://www.quickpdf.org/forum/pdfium-memory-consumption_topic3802_post15187.html#15187</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2828">pdfuserxx</a><br /><strong>Subject:</strong> 3802<br /><strong>Posted:</strong> 10 Apr 20 at 9:53AM<br /><br /><div>I'm using PDFium renderer in my project</div><div><br></div><div>&nbsp; var result = newPdfLibrary.SetPDFiumFileName(libraryFileName);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (result == 1)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; int renderId = newPdfLibrary.SelectRenderer(4);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div><div><br></div><div>and then&nbsp;RenderPageToString to render pdf document, but this results in huge memory consumption which is never released.</div><div><br></div><div>Do I need to call anything else to free the memmory?</div><div>DestroyRenderer and&nbsp;ReleaseLibrary have no effect.</div><div><br></div><div>regards</div><div><br></div>]]>
   </description>
   <pubDate>Fri, 10 Apr 2020 09:53:12 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/pdfium-memory-consumption_topic3802_post15187.html#15187</guid>
  </item> 
 </channel>
</rss>