Print Page | Close Window

QuickPDF 8.14 may have memory leak.

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=2230
Printed Date: 25 Apr 24 at 4:36AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: QuickPDF 8.14 may have memory leak.
Posted By: mjohn
Subject: QuickPDF 8.14 may have memory leak.
Date Posted: 13 Apr 12 at 7:36AM
When I use QuickPDF 8.13, it is ok!
but when i use QuickPDF 8.14 merge many files, 
after sometime, will report 
error source: QuickPDFAX0814.PDFLibrary
error description: Out of memory
error Number:-2147418113

Thanks!




Replies:
Posted By: Ingo
Date Posted: 13 Apr 12 at 7:39AM
Hi John!

If this is a fact here you won't find
anybody to solve this issue.
An error you should post on the official
support pages 'cause here it's only a
user-user-forum ;-)

Cheers, Ingo



Posted By: AndrewC
Date Posted: 13 Apr 12 at 11:42AM
Can you use Windows task manager to monitor to memory usage to see if a leak is in fact occurring or that QuickPDF is running out of memory when you are merging a large number of files with images.


Posted By: mjohn
Date Posted: 23 Apr 12 at 7:49AM
I use many threads to merge some more than 500 tifs to one pdf files. 
so raise "Out of memory" error.
when this error occurs, my program can't do anything, I must restart my program.
so I want when this error occurs, i need close all document and release the memory, how can i do?
what about below code?
 With g_PDFLib
        While .DocumentCount > 1
            .RemoveDocument .SelectedDocument
        Wend
    End With
or 
Set g_PDFLib = New PDFLibrary
which one can release all the memory PDFLibrary use?
Thanks!
 


Posted By: Ingo
Date Posted: 23 Apr 12 at 2:07PM
Check out how many loops are always okay,
keep this loopcount in your mind,
Use a g_PDFLib.Free after the loop,
then the next "New PDFLibrary"...
Something similar should work for you.

Cheers, Ingo



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