|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
OutOfMemoryErrorhi, I've developed a Eclipse plugin with the same funcionality that Shark Professional version. It implies that workflow process graphs are showed to users. For this task I've embebed JaWE as process graph provider. This meesage appears in the logs after showing many process graphs (in a stress scenario): --------------------------------------------------------------------------------------------------- Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space --------------------------------------------------------------------------------------------------- This message is written by JaWE while the rest of the plugin works fine (without memory problems). Have you heard about this issue? Briefly this are the steps that I've followed for use JaWE as graph provider: * only one JaweManager, JaweControler, GraphControler is used. * all the process graphs are cached->everytime that an user wants to to view a process graph the plugin searchs it in the cache and if the pluging doesn't find it then the plugin loads the package and caches al the processes inside the package. Shark versions of packages are considered, therefore many versions of a process graph can live in the same JaWe instance, but it's not the problem and it works fine. To achieved this, the plugin creates a new GraphControllerPanel per Graph. This occurs because I want to give the zoom and scrollbars functionality. And really the plugin caches GraphControllerPanel objects, not Graph objects directly. In this manner, many instences of the graph can be viewed simultaneously at the same time with zoom and scroll. Surely Shark Professional and me have choosen diferent ways to implement this funcionality. The only thing that I think what it can explain this problem not previously detected in Shark Profesional is that Shark opens/closes JaWE while my plugin maintains JaWE opened for a long time. Could it be the source of the OutOfMemoryError? Best regards, Pablo -- You receive this message as a subscriber of the jawe@... mailing list. To unsubscribe: mailto:jawe-unsubscribe@... For general help: mailto:sympa@...?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
|
|
Re: OutOfMemoryErrorHi again, A more detailed exception error: Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space at java.awt.image.DataBufferInt.<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 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)
Best regards, Pablo -- You receive this message as a subscriber of the jawe@... mailing list. To unsubscribe: mailto:jawe-unsubscribe@... For general help: mailto:sympa@...?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
|
|
Re: OutOfMemoryErrorHi,
Sorry for waste your time. Finally I've found the error and it's not related with JaWe. JaWe couldn't paint because another used component (http://www.eclipse.org/articles/article.php?file=Article-Swing-SWT-Integration/index.html) which is targeted to integrate Swing applications into Eclipse is not 100% well written.
I've corrected the error in the 3rd party component and the plugin draws Jawe graphs very quick and fine wihout memory problems. Best regards, Pablo. -- You receive this message as a subscriber of the jawe@... mailing list. To unsubscribe: mailto:jawe-unsubscribe@... For general help: mailto:sympa@...?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
| Free embeddable forum powered by Nabble | Forum Help |