Terry - 2006-09-29

Hi Everyone,

I'm using PDFSharp in a VB service as a test for "chunking" large PDF's up into smaller sizes.
I've used the methods outlined and all is fine in a 30 meg 27,000 page pdf.
However when I use the same method on a 300 meg 270,000 page pdf, pdfsharp generates a stack overflow when run from the VB service, and an out of memory when run from C#. However the machine has more than enough memory. (8 gig)
It generates the error on opening the PDF when it's reading each page.
I've tried using both just giving it a filename and also an IO filestream pointer on the pdf open statement to try and get around this to no avail.
Am I using the right way to open this file or is there a method I've overlooked.

Thanks,
Terry