Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #6662 (closed)

Opened 13 years ago

Closed 12 years ago

Last modified 12 years ago

BUG:Out of memory

Reported by: omero-qa Owned by: jburel
Priority: major Milestone: OMERO-4.4
Component: Insight Version: n.a.
Keywords: n.a. Cc: ajpatterson, saloynton
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2012-01-17 (6)

Description

http://qa.openmicroscopy.org.uk/qa/feedback/3952/

Comment: opening an image search results
the images I was working with are imported as .tiff files, the size is
1044x775.

java.lang.Exception: Abnormal termination due to an uncaught exception.
java.lang.OutOfMemoryError: Java heap space
	at java.awt.image.DataBufferInt.<init>(DataBufferInt.java:75)
	at com.sun.java.swing.plaf.gtk.GTKEngine.finishPainting(GTKEngine.java:589)
	at com.sun.java.swing.plaf.gtk.GTKEngine.finishPainting(GTKEngine.java:580)
	at com.sun.java.swing.plaf.gtk.GTKPainter.paintViewportBorder(GTKPainter.java:631)
	at javax.swing.plaf.synth.SynthScrollPaneUI$ViewportBorder.paintBorder(SynthScrollPaneUI.java:213)
	at javax.swing.plaf.synth.SynthScrollPaneUI.paint(SynthScrollPaneUI.java:84)
	at javax.swing.plaf.synth.SynthScrollPaneUI.update(SynthScrollPaneUI.java:68)
	at javax.swing.JComponent.paintComponent(JComponent.java:765)
	at javax.swing.JComponent.paint(JComponent.java:1029)
	at javax.swing.JComponent.paintChildren(JComponent.java:866)
	at javax.swing.JComponent.paint(JComponent.java:1038)
	at javax.swing.JComponent.paintChildren(JComponent.java:866)
	at javax.swing.JComponent.paint(JComponent.java:1038)
	at javax.swing.JComponent.paintChildren(JComponent.java:866)
	at javax.swing.JSplitPane.paintChildren(JSplitPane.java:1042)
	at javax.swing.JComponent.paint(JComponent.java:1038)
	at javax.swing.JComponent.paintChildren(JComponent.java:866)
	at javax.swing.JComponent.paint(JComponent.java:1038)
	at javax.swing.JComponent.paintChildren(JComponent.java:866)
	at javax.swing.JComponent.paint(JComponent.java:1038)
	at javax.swing.JLayeredPane.paint(JLayeredPane.java:581)
	at javax.swing.JComponent.paintChildren(JComponent.java:866)
	at javax.swing.JComponent.paintToOffscreen(JComponent.java:5145)
	at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:302)
	at javax.swing.RepaintManager.paint(RepaintManager.java:1145)
	at javax.swing.JComponent.paint(JComponent.java:1015)
	at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:39)
	at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:78)
	at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:115)
	at java.awt.Container.paint(Container.java:1844)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:751)

Attachments (1)

omeroinsight-render-error.log (21.4 KB) - added by ajpatterson 12 years ago.
log of error

Download all attachments as: .zip

Change History (13)

comment:1 Changed 13 years ago by jmoore

  • Component changed from from QA to Insight

comment:2 Changed 12 years ago by jburel

  • Milestone changed from Unscheduled to OMERO-Beta4.4
  • Priority changed from minor to major

increasing heap size but need to test other scaling library to improve performance, quality.

comment:3 Changed 12 years ago by jburel

Need to make sure buffered images are flushed but this could also be related to a critical ICE bug recently fixed.

comment:4 Changed 12 years ago by jburel

  • Remaining Time set to 0.75
  • Sprint set to 2012-01-17 (6)
  • Status changed from new to accepted

investigating problem

comment:5 Changed 12 years ago by jburel

using java-image-scaling for scaling image in viewer. Faster

comment:6 Changed 12 years ago by jburel

  • Remaining Time changed from 0.75 to 0
  • Status changed from accepted to closed

comment:7 Changed 12 years ago by ajpatterson

Opened nine 1600x1200 images, started to zoom each to max extent. Got the error "An error occurred while magnifying the image" after I had zoomed six all the way in. Even after closing the 6 images the others 3 still gave same error. Error dialog worked well though and app did not crash and remained responsive.

comment:8 Changed 12 years ago by jburel

Could you add the log to the ticket? Maybe a compressed version if too big.

Changed 12 years ago by ajpatterson

log of error

comment:9 Changed 12 years ago by jburel

  • Cc ajpatterson saloynton added

From the log, it is not a problem with the memory itself. The settings cannot be reset: image missing stats for a given channels, in the Rendering Engine i.e. Server side

comment:10 Changed 12 years ago by Jean-marie Burel <j.burel@…>

(In [f485990884e9659d5bacba9ae79e50a2e72fd434/ome.git] on branch develop) Use java-scaling library

To improve the creation of buffered image in viewer
use java-scaling library (see #6662)

comment:11 Changed 12 years ago by Jean-marie Burel <j.burel@…>

(In [06c46facf4490f7871e23d160ac938b1e7d2a165/ome.git] on branch develop) Out of memory

Flush images and invokes garbage collector
so we do not keep all the buffered images
around (see #6662)

comment:12 Changed 12 years ago by Jean-marie Burel <j.burel@…>

  • Resolution set to fixed

(In [9dccc3e2851d35ebb244814f64bdb3d34a4be66f/ome.git] on branch develop) Flush on close

Flush the images and free memory
when closing the browser. (close #6662)

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.70701 sec.)

We're Hiring!