Print Page | Close Window

out of memory problem

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=684
Printed Date: 22 Nov 24 at 1:59PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: out of memory problem
Posted By: agrosoft
Subject: out of memory problem
Date Posted: 23 Mar 07 at 3:55AM
Hi
when I create a big PDF file' I got en Out of memory error
I  can see in memory that the application growers untill the error message apears
I don't have the source but the debuger says the bproblem comes from uPDFStructure.pas
 
any ideas ?
 
Regards
 
  David



Replies:
Posted By: marian_pascalau
Date Posted: 23 Mar 07 at 4:12AM
David,
the most memory killing operations are the operations with images. You should pay attention first there.


Posted By: bogey
Date Posted: 23 Mar 07 at 7:45AM
Make sure you setup a temp folder for overflow. This folder has to have write privledges for the inetusr account. (assuming IIS)
 
 
  Set QP = Server.CreateObject("iSED.QuickPDF")
  Call QP.UnlockKey("xxxxxxxxxxxxxxxxxxxxxxx")
  QP.SetTempPath("d:/pdftemp")
  QP.SetTempFile("d:/pdftemp/pdftemp.dat")
  if session("debug") = true then
   response.write("<hr><b><i>Start QuickPDF Process</i></b>")
   response.write("<br>iSed QuickPDF Version = " & QP.LibraryVersion())
   response.write("<br>Check Temp Path = " & QP.TestTempPath())
  end if


Posted By: agrosoft
Date Posted: 24 Mar 07 at 2:01AM
Hi again
thanks all for the info
howerver the problem remains even without logos and with temp files
I got 10 pages document with size of almost 5 MB
its content is a table with lines of data
am I missing something here about fonts ? is that size resneble for 10 pages ?
 
Regards
 
David
 
 


Posted By: marian_pascalau
Date Posted: 24 Mar 07 at 3:59AM
David, send VB/Delphi/.Net sample to support(at)quickpdf.org
When I have some time I will try to confirm your problem.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk