drawing too large Exception in thread "AWT-EventQueue-4" java.lang.OutOfMemoryError: Java heap space
- Status
- Closed
- Subject
- drawing too large Exception in thread "AWT-EventQueue-4" java.lang.OutOfMemoryError: Java heap space
- Version
- 1.9.x
2.x - Category
- Error
- Dogfood on a *.tiki.org site
- Feature
- Draw (SVG-edit)
- Resolution status
- Out of Date
- Submitted by
- Marc Laporte
- Lastmod by
- Bernard Sfez / Tiki Specialist
- Rating
- Description
When trying to drag & drop a very large image into the drawing applet, I get the error below.
Copy to clipboardException in thread "AWT-EventQueue-4" java.lang.OutOfMemoryError: Java heap space at Acme.JPM.Encoders.ImageEncoder.encodePixelsWrapper(Unknown Source) at Acme.JPM.Encoders.ImageEncoder.setPixels(Unknown Source) at sun.awt.image.OffScreenImageSource.sendPixels(Unknown Source) at sun.awt.image.OffScreenImageSource.produce(Unknown Source) at sun.awt.image.OffScreenImageSource.addConsumer(Unknown Source) at sun.awt.image.OffScreenImageSource.startProduction(Unknown Source) at Acme.JPM.Encoders.ImageEncoder.encode(Unknown Source) at org.jgraph.pad.actions.FileExportGIF.convertToGif(Unknown Source) at org.jgraph.JGraphpad.uploadToTiki(Unknown Source) at org.jgraph.pad.actions.FileSave.actionPerformed(Unknown Source) at org.jgraph.pad.GPDocument.close(Unknown Source) at org.jgraph.pad.actions.FileExit.actionPerformed(Unknown Source) at org.jgraph.GPGraphpad$AppCloser.windowClosing(Unknown Source) at java.awt.Window.processWindowEvent(Unknown Source) at javax.swing.JFrame.processWindowEvent(Unknown Source) at java.awt.Window.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)- Solution
- workaround was too split into 2 smaller images.
- Priority
- 25
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 1412
- Created
- Monday 26 November, 2007 04:00:10 UTC
by Unknown - LastModif
- Sunday 31 October, 2021 08:33:22 UTC