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 - Problems with large files.
  FAQ FAQ  Forum Search   Register Register  Login Login

Problems with large files.

 Post Reply Post Reply
Author
Message
Pulkitsoft View Drop Down
Beginner
Beginner


Joined: 10 Oct 20
Location: New Delhi
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote Pulkitsoft Quote  Post ReplyReply Direct Link To This Post Topic: Problems with large files.
    Posted: 02 Apr 23 at 1:07PM
I have been working with Debenu for a long while. I am using the 64-bit version.

I Failed to open the file when the size is more than>2 GB. Some forums and users suggested using the DA function. DA has limited functions my requirement is not fulfilled it. 

I need open larger file and write text, create hyperlinks and bookmark into it.

My machine already has an Intel core i7 with 16 Gb RAM configured.

Can anybody please help and suggest what I do? Thanks in advance.
Back to Top
tfrost View Drop Down
Senior Member
Senior Member


Joined: 06 Sep 10
Location: UK
Status: Offline
Points: 437
Post Options Post Options   Thanks (0) Thanks(0)   Quote tfrost Quote  Post ReplyReply Direct Link To This Post Posted: 02 Apr 23 at 4:51PM
What error number or message do you get when you try to open the file?  Do you have the source code version of QPDF?  Which version of QPDF are you using, and with which programming language?  If you get an exception, what is the call stack in the debugger? I have no files over 2GB to test with, but with some information about the actual problem I might be able to find where it happens in the source, and there is then a (very small) chance that this might lead you to a workaround.
Back to Top
Pulkitsoft View Drop Down
Beginner
Beginner


Joined: 10 Oct 20
Location: New Delhi
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote Pulkitsoft Quote  Post ReplyReply Direct Link To This Post Posted: 02 Apr 23 at 6:02PM
@tfrost,
 I am using 64 bit version of Windows 10 Pro.
 I am using 64 bit version of Visual Studio 2022.
 I am using 64 bit version of DebenuPDFLibrary64AX1811  , ActiveX version (COM) added it from visual studio>references.

Programming language : C#.NET

DebenuPDFLibrary64AX1811.PDFLibrary PdfLib = new DebenuPDFLibrary64AX1811.PDFLibrary();

    PdfLib = new PDFLibrary();
    PdfLib.UnlockKey("LicenseKeyHavingHere");
    RetVal = PdfLib.LoadFromFile(@"c:\test\test.pdf", ""); // test.pdf is more than 2 GB in size
    //RetVal always return 0
    //No any other error throw by system.


Please suggest any ideas and clues if you have any, I am stuck on an important project. Please help.
Back to Top
tfrost View Drop Down
Senior Member
Senior Member


Joined: 06 Sep 10
Location: UK
Status: Offline
Points: 437
Post Options Post Options   Thanks (0) Thanks(0)   Quote tfrost Quote  Post ReplyReply Direct Link To This Post Posted: 03 Apr 23 at 12:44PM
If RetVal is zero you should at least try calling LastErrorCode to determine the reason. It may just be the (unhelpful) '401 - unable to open', but if not, it might help. Otherwise, since I do not use the ActiveX version, I may not be able to contribute much more, but perhaps someone else here may be able to.  The possible results from LastErrorCode are documented in the PDF manual.
Back to Top
Pulkitsoft View Drop Down
Beginner
Beginner


Joined: 10 Oct 20
Location: New Delhi
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote Pulkitsoft Quote  Post ReplyReply Direct Link To This Post Posted: 03 Apr 23 at 2:35PM
@tfrost, 

The last error code is 401. The pdf opens successfully in Adobe reader, Nitro and Foxit.
Back to Top
tfrost View Drop Down
Senior Member
Senior Member


Joined: 06 Sep 10
Location: UK
Status: Offline
Points: 437
Post Options Post Options   Thanks (0) Thanks(0)   Quote tfrost Quote  Post ReplyReply Direct Link To This Post Posted: 03 Apr 23 at 5:49PM
OK, then I am just about out of bullets. A 2GB PDF must be a fairly rare beast in the wild (and rightly so), but if you  had one that someone here with source could download, it might be worth attempting to load it in a Delph program, in which the debugger would then show the exact place of failure (if it fails). However if it succeeds, it would not help you much if you are obliged to use the ActiveX. And if it fails, then without the source you would not not be much further forward either.
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3527
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 03 Apr 23 at 10:25PM
Hi Ram :)

I'm a real fan using this library but...
Sometimes in the past we already had performance- and memoryusage-discussions using very, very large files.
And a monster with 2 GB... ?!
I think you should stop your tests.
I don't have too much hope that you could succeed.
Sorry for my opinion but this opinion could be a time saver for you ;-)

Cheers,
Ingo

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