Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - QuickPDF 8.14 may have memory leak.
  FAQ FAQ  Forum Search   Register Register  Login Login

QuickPDF 8.14 may have memory leak.

 Post Reply Post Reply
Author
Message Reverse Sort Order
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Topic: QuickPDF 8.14 may have memory leak.
    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
Back to Top
mjohn View Drop Down
Beginner
Beginner


Joined: 28 Oct 11
Location: ??
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote mjohn Quote  Post ReplyReply Direct Link To This Post 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!
 
Back to Top
AndrewC View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 08 Dec 10
Location: Geelong, Aust
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndrewC Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
mjohn View Drop Down
Beginner
Beginner


Joined: 28 Oct 11
Location: ??
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote mjohn Quote  Post ReplyReply Direct Link To This Post 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!

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store