PDFsharp - moved to http://forum.pdfsharp.net/ Forum Index PDFsharp - moved to http://forum.pdfsharp.net/
Please visit the new PDFsharp forum at http://forum.pdfsharp.net/
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Large PDF size and memory occupation

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    PDFsharp - moved to http://forum.pdfsharp.net/ Forum Index -> Support - moved to http://forum.pdfsharp.net/
View previous topic :: View next topic  
Author Message
vladaz



Joined: 27 Nov 2008
Posts: 1

PostPosted: Thu Nov 27, 2008 9:59 pm    Post subject: Large PDF size and memory occupation Reply with quote

Hi,
I'm using the PDFSharp to create photo booklets. Each page may contain between 1 and 6 photos, using various templates.
The resulting file with 8 pages of images weights about 60 Megs, while the images themselves in JPEG format all together weight about 1.5 Megs.

In addition, processing a booklet with 60-70 pages and around 160 images hangs my x64 - 4gigs of RAM machine indicating more than 2 gigs allocated by my app.

Is it normal for PDF to be so large?

Thanks
Back to top
View user's profile Send private message
tazbill



Joined: 30 Jan 2009
Posts: 2

PostPosted: Thu Feb 12, 2009 6:04 pm    Post subject: Reply with quote

Bump.

I am having similar issues, except my pages number in the hundreds and am using > 1.1g RAM during file creation.
Back to top
View user's profile Send private message
Thomas Hoevel



Joined: 16 Oct 2006
Posts: 387
Location: Cologne, Germany

PostPosted: Mon Feb 16, 2009 8:33 am    Post subject: Reply with quote

JPEG files are simply stored inside the PDF file.

DEBUG mode files are bigger than RELEASE mode files because of indentation, linebreaks and comments.
But 60 MB PDF file from 1.5 MB JPEG files? I hardly believe that.

All images are kept in RAM. This can be a problem with many large images.
I don't know if that issue also shows in WPF mode.

See also here:
http://pdfsharp.s3.bizhat.com/viewtopic.php?t=624
_________________
Regards
Thomas Hoevel
PDFsharp Team
Back to top
View user's profile Send private message Visit poster's website
Wild Falcon



Joined: 08 Apr 2009
Posts: 4

PostPosted: Wed Apr 22, 2009 8:18 pm    Post subject: Reply with quote

I have similar problem -
program, who generates 16-page PDF from 26 jpeg-s (600-800kb per picture) "eats" 600-1200 MB RAM while generates PDF file.
(debug and release builds give the same results)

Maybe PDFSharp can write PDF on disc by parts, with cleaning RAM resources after writing each part?
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    PDFsharp - moved to http://forum.pdfsharp.net/ Forum Index -> Support - moved to http://forum.pdfsharp.net/ All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group. Hosted by phpBB.BizHat.com


Start Your Own YouTube Clone

Free Web Hosting | Free Forum Hosting | FlashWebHost.com | Image Hosting | Photo Gallery | FreeMarriage.com

Powered by PhpBBweb.com, setup your forum now!
For Support, visit Forums.BizHat.com