[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug awt/27917] New: Massive memory leak in Graphics2D image operations
From: |
hendrich at informatik dot uni-hamburg dot de |
Subject: |
[Bug awt/27917] New: Massive memory leak in Graphics2D image operations |
Date: |
6 Jun 2006 12:00:34 -0000 |
My image viewer application shows a massive memory leak when running on jamvm
with classpath cvs (2006.06.06) - about 10..30 MBytes of memory per
medium-sized image.
Goto http://tams-www.informatik.uni-hamburg.de/personal/hendrich/niffler/
and download niffler.jar and optionally the sources. Run the jar and specify
the name of a directory with lots of images in it:
jamvm -jar niffler.jar /home/hendrich/images/
The app should start up now (note that it also might just crash immediately
after the first repaint; jamvm just hangs) and displays the first image.
Move the mouse over the image, activate the popup menu and deselect
popup > thumbnails > enable thumbnails, because creating the thumbnails
may take a long time.
Open the popup menu and select popup > slideshow > start slideshow (linear)
or type "F9". Optionally, type "i" or select popup > slideshow > half interval
to reduce the delay between images.
Observe memory consumption...
I have no simple testcase yet, because some image operations seem to happen
asynchronously. I suspect that the loaded images are never garbage-collected.
(It also might be the scaled image drawImage(x y w h x y w h), but this seems
to work in my circuit simulator.)
--
Summary: Massive memory leak in Graphics2D image operations
Product: classpath
Version: 0.92
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: awt
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hendrich at informatik dot uni-hamburg dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27917
- [Bug awt/27917] New: Massive memory leak in Graphics2D image operations,
hendrich at informatik dot uni-hamburg dot de <=
- [Bug awt/27917] Massive memory leak in Graphics2D image operations, mark at gcc dot gnu dot org, 2006/06/06
- [Bug awt/27917] Massive memory leak in Graphics2D image operations, mark at gcc dot gnu dot org, 2006/06/06
- [Bug awt/27917] Massive memory leak in Graphics2D image operations, hendrich at informatik dot uni-hamburg dot de, 2006/06/06
- [Bug awt/27917] Massive memory leak in Graphics2D image operations, mark at gcc dot gnu dot org, 2006/06/06
- [Bug awt/27917] Massive memory leak in Graphics2D image operations, cvs-commit at developer dot classpath dot org, 2006/06/07
- [Bug awt/27917] Massive memory leak in Graphics2D image operations, hendrich at informatik dot uni-hamburg dot de, 2006/06/07
- [Bug awt/27917] Massive memory leak in Graphics2D image operations, cvs-commit at developer dot classpath dot org, 2006/06/08
- [Bug awt/27917] Massive memory leak in Graphics2D image operations, mark at gcc dot gnu dot org, 2006/06/08
- [Bug awt/27917] Massive memory leak in Graphics2D image operations, hendrich at informatik dot uni-hamburg dot de, 2006/06/08
- [Bug awt/27917] Massive memory leak in Graphics2D image operations, mark at gcc dot gnu dot org, 2006/06/11