Search found 9 matches

by kensands
Wed Apr 30 2014
Forum: Amyuni PDF Creator .NET (PDF Viewer / Editor)
Topic: New PDF with large page dimensions
Replies: 3
Views: 13344

Re: New PDF with large page dimensions

I'd add to this it seems necessary to set the page length for every page when processing a pdf with many pages. I opened a 10000 page pdf with a long page length and saved to a new pdf 10 of those pages. When viewed the new pdf started correctly but the last 2 pages it'd set to something like A4 siz...
by kensands
Wed Apr 30 2014
Forum: Amyuni PDF Creator .NET (PDF Viewer / Editor)
Topic: Memory increase until crash
Replies: 5
Views: 16612

Re: Memory increase until crash

Well I've found the perfect solution for this. using PDFSharp library. Absolutely blown away by how a totally free library performed for the batch appending of many files, I threw over 3000 half meg pdfs at it and it appended and saved out in a few minutes. the same thing took 3 hours of churning aw...
by kensands
Wed Sep 25 2013
Forum: Amyuni PDF Creator .NET (PDF Viewer / Editor)
Topic: Memory increase until crash
Replies: 5
Views: 16612

Re: Memory increase until crash

I never said there was a memory leak, just that memory use increases until you get a crash. Using those methods I also thought would solve the issues but they don't. I've been told that the key is using OpenEx and setting the amount of pages that will be held in cache, code that is wonderfully undoc...
by kensands
Tue Jul 16 2013
Forum: Your opinion counts
Topic: What are the features you are missing in our tools?
Replies: 12
Views: 91748

Re: What are the features you are missing in our tools?

Developer version: Stability! when doing anything more than a couple of functions to a small pdf the crashes come thick and fast, nearly all seem to be down to memory use spiraling out of control. It's nice having something fast but when you have to spend an extra week writing huge amounts of code t...
by kensands
Tue Jul 16 2013
Forum: Amyuni PDF Creator .NET (PDF Viewer / Editor)
Topic: Memory increase until crash
Replies: 5
Views: 16612

Re: Memory increase until crash

As it may help some encountering this same problem, until a real solution is given resetting the document every 500 pages "solved" it for me. Put this in the loop and the memory gets up to about 500MB before this kicks in and resets it. Pretty slow and annoying to have to reopen a document...
by kensands
Tue Jul 16 2013
Forum: Amyuni PDF Creator .NET (PDF Viewer / Editor)
Topic: Memory increase until crash
Replies: 5
Views: 16612

Memory increase until crash

I've got a very simple loop looking for a picture object on each page of a pdf which is a few thousand pages long. when I run it memory use will just keep going up until it gets close to 2GB at somewhere near 1800 pages in and at that point the library throws an exception. I removed all the other bi...
by kensands
Thu Jun 27 2013
Forum: Amyuni PDF Creator .NET (PDF Viewer / Editor)
Topic: startsave / endsave not saving changes.
Replies: 2
Views: 9971

Re: startsave / endsave not saving changes.

So I've now worked with the libraries for some time. As useful as they are there are so many frustrating pitfalls that I've almost thrown the pc out of the window. What's most annoying is that they seem like simple to fix bugs or at least simple to document. So here's a few things I've found out fro...
by kensands
Wed Jan 09 2013
Forum: Amyuni PDF Creator .NET (PDF Viewer / Editor)
Topic: startsave / endsave not saving changes.
Replies: 2
Views: 9971

Re: startsave / endsave not saving changes.

Interesting... I've found that if I call PDFdoc.save(file1) first and then use PDFdoc.startsave(file2) savepagenumber(1....n) PDFdoc.endsave() that it works, and everything is in place, it's as if the save() function commits the bits that have been added whereas the startsave doesn't. It doesn't hel...
by kensands
Wed Jan 09 2013
Forum: Amyuni PDF Creator .NET (PDF Viewer / Editor)
Topic: startsave / endsave not saving changes.
Replies: 2
Views: 9971

startsave / endsave not saving changes.

I've appended together a few hundred pdfs and added a page number to each page in the result, if I use PDFdoc.save() then all is fine although it takes a long time and the process is using about a gig and a half of memory by the end. so I tried the suggested startsave / endsave block saving 1 page a...