« June 2007 | Main | March 2008 »

January 2008 Archives

January 21, 2008

$8.5 Billion to buy the big cake BEA Systems

Oracle to buy the big cake BEA Systems for $8.5 Billion

January 28, 2008

JBoss AS 4.2.x and java.lang.OutOfMemoryError: PermGen space

Somtimes after multiple deployments of an application in a JBoss AS instance it's possible that the server instance throws an error of type java.lang.OutOfMemoryError: : PermGen space .
to fix that problem, we have to patch the $JBOSS_HOME/bin/run.sh file with this proposition:
- firstly, we have to find the variable JAVA_OPTS in the file
- then we have to enhance the variable like this:

 JAVA_OPTS="$JAVA_OPTS -Xms128m -Xmx512m -XX:CMSPermGenSweep:ngEnabled
-XX:MaxPermSize=128m -Dsun.rmi.dgc.client.gcInterval=3600000
-Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true"

The PermGenSpace of a JBoss AS instance has a standard value of 64m, therefore breaks down often the server instance.

About January 2008

This page contains all entries posted to Serge Pagop's Weblog in January 2008. They are listed from oldest to newest.

June 2007 is the previous archive.

March 2008 is the next archive.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 3.31