Backporting 8020983: OutOfMemoryError caused by non garbage collected JPEGImageWriter Instances
Andrew Hughes
gnu.andrew at redhat.com
Wed Sep 4 08:18:53 PDT 2013
----- Original Message -----
> On 08/27/2013 12:01 PM, Andrew Hughes wrote:
> > ----- Original Message -----
> >> Hi Andrew,
> >>
> >> On 08/27/2013 11:22 AM, Andrew Hughes wrote:
> >>> 0. What problem does this solve?
> >>
> >> The current code has memory leaks. With some usage patterns, Java will
> >> run heap space. For more details, please see the bug:
> >> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8020983
> >>
> >
> > "This image writer object will never be garbage collected. This is
> > reproducible with java 6u45. It works fine for us until version 6_u43."
> >
> > It sounds like a recent regression. Have you been able to reproduce the
> > issue
> > on OpenJDK 6?
>
> Yes, it was originally reported against icedtea6-1.11:
> https://bugzilla.redhat.com/show_bug.cgi?id=976897
>
> > Ok, it should probably also go in 1.11.x and 1.12.x if the issue is present
> > there.
>
> Will do.
A number of other JPEG backports [0] were included in IcedTea 1.x and may be worth
considering for OpenJDK. With these applied, 8020983 applies as it is in 7.
[0] http://icedtea.classpath.org/hg/icedtea6/rev/de0023a3d26d
--
Andrew :)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
PGP Key: 248BDC07 (https://keys.indymedia.org/)
Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07
More information about the jdk6-dev
mailing list