Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Fredrik Jonson Newsgroups: comp.lang.java.programmer Subject: Re: Crash in Java 1.6.0_13 ImageIO PNG decoder (and possibly later versions) loading large interlaced PNGs with low memory Date: 12 Nov 2012 09:37:16 GMT Lines: 32 Message-ID: References: X-Trace: individual.net nJ05IqstzyTxgcqraG/qBQrgDwbovFfaIizXDQFln1F30Ns+7nlNB9XqzjmFWSUE8= Cancel-Lock: sha1:weVdw3anj9vFXqO9HKpGypdbKeo= User-Agent: slrn/pre1.0.0-18 (Linux) Xref: csiph.com comp.lang.java.programmer:19707 In dy/dx wrote: > Using Java 1.6.0_13 -server -Xmx1100M what do you get if you run this code? > > [...] I don't feel like going to a huge effort downloading a hundred megs of > later-Java-version, installing it, rebooting, fixing everything I'd need to > fix to make stuff use the later version, fixing broken links because the > binary pathname changed, and so forth, only to find out that the bug's > still there in the current version. :) Please confirm that your internet connection is a 110 baud telex line on Antarctica, and that you need to copy every byte by hand from the telprinter paper to your terminal prompt to write them to disk. I'd be happy to assist if I knew downloading 70 - not a couple of hundred - megabytes was a substantial chore for you. Also, tell me you're not running a 6u13 based service that exposed to the internet? There are remotely triggerable DOS issues that has been resolved since u13. The latest patch release is update 37, that's a whopping 24 security and stability improving patch releases ahead of your environment. Besides, if your source code, build system, and service configuration is so fragile it requires several hours of work just to upgrade the JDK, I recommend that you take some time to fix that. Changing your $PATH and $JAVA_HOME variables shouldn't be that much work. And while you're at it, consider upgrading to JDK 7, as JDK 6 (non-for-pay) has a scheduled EOL in November 2012. http://www.oracle.com/technetwork/java/eol-135779.html https://blogs.oracle.com/henrik/entry/updated_java_6_eol_date -- Fredrik Jonson