News for hackers. Stuff that matters.
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.