Hi Xavier,
I would not argue it is normal. I have multiple projects under development
and even
production deployment and I have to restart very rarely. I am not using
PrimeFaces,
nor any of its dependencies so that might be the reason why.
Plain JSF and my home-grown components do not result in MaxPerm exception
regularly. I haven’t had to restart my production servers in months even
though I
do at least one deployment per day.
Note this issue is a recurring issue and most times it is blamed on either
JSF or in this
case PrimeFaces, but quite honestly I would not be surprised if it not a
PrimeFaces
core problem, but a problem in one of its dependencies.
Kind regards,
Manfred
From: Xavier Callejas [mailto:xavier_at_sistemasaereos.com.sv]
Sent: Tuesday, June 07, 2011 3:17 PM
To: users_at_glassfish.java.net
Cc: Richard Kolb; users_at_glassfish.dev.java.net;
quality_at_glassfish.dev.java.net
Subject: Re: Anyone using Primefaces with Glassfish ? - 55 deploys of Basic
Primefaces / JSF causes MaxPerm gen
On Lun 06 Jun 2011 23:33:46 Richard Kolb escribió:
> Personally, I don't use JSF anymore.
> But perhaps someone else wants to pick this up ?
While you are developing it is normal that you get MaxPerm exception after a
lot of redeploys. You could increase your MaxPermSize to:
-J-XX:MaxPermSize=512m
--
_____
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1382 / Virus Database: 1511/3686 - Release Date: 06/07/11