Re:A 12-year-old bug in JDK, still out there leaking memory
by sgt on Monday December 17, 2012 @10:12AM
(#4932541)
I'm using 1.6 for development purposes (I will change to JDK 7 very shortly, but it hasn't been possible until now for other reasons), and I am literally plagued by the PermGen problem every single day, perhaps up to 3 times an hour. Increasing PermGen space is not a solution, as it only means that - yes, it'll take longer for PermGen space to run out, but the Application Server (e.g. Glassfish) will become incredibly slow before it breaks.
Re:A 12-year-old bug in JDK, still out there leaking memory
by brown9-2 on Tuesday December 18, 2012 @12:24PM
(#4938482)
Are you doing lots of redeploys? Can you alter your workflow to just restart the server process instead?
Re:A 12-year-old bug in JDK, still out there leaking memory
by sgt on Wednesday December 19, 2012 @09:12AM
(#4942619)
Yes, doing a lot of redeploys. Restarting the server process takes a bit too long. E.g. if I have 50 EJB's and 20-30 JAX-RS type web services, it does take the application about 15-20 seconds to load each time. Sometimes even longer. So incremental redeploys are really great, as it usually takes 2-3 seconds instead.
Re:A 12-year-old bug in JDK, still out there leaking memory
by ivom2gi on Monday December 17, 2012 @08:20AM
(#4932141)
As we speak, then according to this http://zeroturnaround.com/labs/devprod-report-redux-java-ver... Java 7 only has up to 20% of market share. This means that most of the apps out there are still affected ...
Re:A 12-year-old bug in JDK, still out there leaking memory
by jtymes on Monday December 17, 2012 @07:51AM
(#4932057)
>Luckily the new patches to Java 7 no longer have this problem. But as the different statistics show – vast majority of the applications out there have not migrated to Java 7 as we speak. So most often than not, your application at hand has got the very same problem waiting to surface.
It's a tad misleading, but it's "still out there waiting to bite you" because of Java 6 still being widely used.
Re:A 12-year-old bug in JDK, still out there leaking memory
by thebluesky on Monday December 17, 2012 @07:57AM
(#4932074)
JDK 6 is EOL 2 months from now: https://blogs.oracle.com/henrik/entry/java_6_eol_h_h
It's also pretty rare for folks to use that http client. It's normally the case that an apache commons or netty http client is used.
Re:A 12-year-old bug in JDK, still out there leaking memory
by smackfu on Monday December 17, 2012 @09:29AM
(#4932352)
We'll see if that EOL actually happens. It's pretty irresponsible to discontinue security updates for a version that is used by half of your customers (even if you don't want them to use it anymore.) Very similar to Microsoft and XP support.
From the bug report: Submit Date: 2010-12-22 Resolved Date: 2011-03-10 That's less than 3 months.