Hello:
I'm trying to draw 250.000 shapes into a 5x5 meters PDF sheet using
PdfGraphics2D. And I'm getting an OutOfMemoryError. The stack is:
03/12/2012 12:21:51 ERROR root:197 - java.lang.OutOfMemoryError: Java heap
space
03/12/2012 12:21:51 ERROR root:197 - at
com.lowagie.text.pdf.ByteBuffer.append(Unknown Source)
03/12/2012 12:21:51 ERROR root:197 - at
com.lowagie.text.pdf.PdfGraphics2D.internalDispose(Unknown Source)
03/12/2012 12:21:51 ERROR root:197 - at
com.lowagie.text.pdf.PdfGraphics2D.dispose(Unknown Source)
03/12/2012 12:21:51 ERROR root:197 - at
printer.plugins.export.pdf.PdfExporterPlugIn$PdfExporterWorker.run(PdfExporterPlugIn.java:470)
03/12/2012 12:21:51 ERROR root:197 - at
java.lang.Thread.run(Thread.java:662)
Have any of you tried something similar to this? Are there any way to
improve memory usage?
Thank you!
------------------------------------------------------------------------------
Keep yourself connected to Go Parallel:
BUILD Helping you discover the best ways to construct your parallel projects.
http://goparallel.sourceforge.net
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php