#4 OutOfMemoryError while exporting to PDF

Current release
closed-fixed
nobody
PDF exports (2)
5
2011-07-29
2009-05-07
No

For quiet large export to PDF - 10 stories with large description - I have

java.lang.OutOfMemoryError: Java heap space
at com.lowagie.text.DocWriter.getISOBytes(Unknown Source)
at com.lowagie.text.pdf.ByteBuffer.append(Unknown Source)
at com.lowagie.text.pdf.PdfContentByte.addTemplate(Unknown Source)
at com.lowagie.text.pdf.PdfContentByte.addTemplate(Unknown Source)
at org.scrinch.gui.ItemSetPdfExporter.addItemPages(ItemSetPdfExporter.java:179)
at org.scrinch.gui.ItemSetPdfExporter.exportSetToPdfFile(ItemSetPdfExporter.java:103)
at org.scrinch.gui.ItemTablePanel.exportItemSetToPdf(ItemTablePanel.java:270)
at org.scrinch.gui.ItemTablePanel.btExportSetActionPerformed(ItemTablePanel.java:537)
at org.scrinch.gui.ItemTablePanel.access$1100(ItemTablePanel.java:44)
at org.scrinch.gui.ItemTablePanel$13.actionPerformed(ItemTablePanel.java:488)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6216)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5981)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4583)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4413)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4556)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4220)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4150)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4413)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)

Discussion

  • Christian

    Christian - 2011-07-29

    Use -Xmx128m and outofmemory should never happen

    last version only accepts 128m heap or more

     
  • Christian

    Christian - 2011-07-29
    • status: open --> open-fixed
     
  • Christian

    Christian - 2011-07-29
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks