There's no reason to happen. If you can prepare a self contained example 
maybe we can find the cause.

Paulo

----- Original Message ----- 
From: "Alan" <[EMAIL PROTECTED]>
To: "Post all your questions about iText here" 
<[email protected]>
Sent: Friday, December 29, 2006 11:56 PM
Subject: [iText-questions] FW: OutOfMemory exception on ContentByte.LineTo




Happy New Year (to all those on the list who will be celebrating one)



I have a problem with path construction that is driving me nuts. My
application takes geometry structures from a GIS and recreates them as
pdf path statements.



I have successfully created documents with over 250,000 individual
"LineTo" elements but I have one set that consistently fails at about
40,000 (These are totals for the document, not for individual paths.)



Does anyone know of any implementation limits that would cause
ContentByte.LineTo() to throw an OutOfMemory exception? I have run out
of ideas to investigate.



(BTW: I am using C# but I'm almost certain this is not a
language/compiler/OS issue; I have done a lot of investigation in this
regard.)



Cheers

AlanK





"...And then came the grandest idea of all!

We actually made a map of the country, on the scale of a mile to the
mile!

Have you used it much? I enquired.
It has never been spread out, yet,  said Mein Herr:

the farmers objected:

they said it would cover the whole country, and shut out the sunlight!

So we now use the country itself, as its own map, and I assure you it
does nearly as well..."
- Lewis Carroll. The complete Sylvie and Bruno. 1893.







-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to