John Langley wrote:
Another trick I've used is to set the PermGen space in the catalina.sh
script (I run on linux; it would be catalina.bat on windows of course)
with the following JAVA_OPTS


JAVA_OPTS="$JAVA_OPTS "-Xmx512m" "-XX:PermSize=128m" \
 "-XX:MaxPermSize=256m"
Which JDK you are using?

AFAIK -XX:PermSize is not documented in the Sun JDK 1.5_7 on Linux platform. You can try this by 'java -X' command.

Regards,

Rajbir
(Note: the '\' is just to make it readable above) Langley

On Wed, 2006-09-13 at 15:00 +0530, Yogesh Salunke wrote:
Hi,

I get the permgen space error and my portlets get vanished .This is the
problem of memory.

One workaround is in web.xml of every application, I have changed the
param-value to client instead of server

<context-param>

      <param-name>javax.faces.STATE_SAVING_METHOD</param-name>

      <param-value>client</param-value>

      </context-param>

 <context-param>





Is there anything which I can do more or any other trick or only option is
to increase the memory of server.

Thanks


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to