Skip to Content
0
Former Member
Feb 06, 2012 at 09:02 AM

Java heap space in Stack Bar Chart in MII 12.1

32 Views

I am getting java heap space error with following details in my console when i am trying to load a stack bar chart.

Exception in thread "AWT-EventQueue-2" java.lang.OutOfMemoryError: Java heap space

at java.awt.image.DataBufferUShort.<init>(Unknown Source)

at java.awt.image.Raster.createPackedRaster(Unknown Source)

at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown Source)

at sun.awt.image.SunVolatileImage.getBackupImage(Unknown Source)

at sun.awt.image.VolatileSurfaceManager.getBackupSurface(Unknown Source)

at sun.awt.image.VolatileSurfaceManager.initialize(Unknown Source)

at sun.awt.image.SunVolatileImage.<init>(Unknown Source)

at sun.awt.image.SunVolatileImage.<init>(Unknown Source)

at java.awt.GraphicsConfiguration.createCompatibleVolatileImage(Unknown Source)

at java.awt.GraphicsConfiguration.createCompatibleVolatileImage(Unknown Source)

at javax.swing.RepaintManager.getVolatileOffscreenBuffer(Unknown Source)

at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)

at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)

at javax.swing.RepaintManager.paint(Unknown Source)

at javax.swing.JComponent.paint(Unknown Source)

at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)

at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)

at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)

at java.awt.Container.paint(Unknown Source)

at com.sap.xmii.applet.common.BaseApplet.paint(BaseApplet.java:840)

at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)

at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)

at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)

at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)

at java.awt.event.InvocationEvent.dispatch(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)

My java version is Java - 6 Update 22

MII version - 12.1.8 Build 24

Kindly help me to solve this.

Thanks in advance.

Selva