[jboss-user] [JBoss Portal] - java.lang.OutOfMemoryError: PermGen space
sjewett
do-not-reply at jboss.com
Wed Feb 11 12:05:17 EST 2009
Any help is appreciated:
I downloaded JBoss Portal 2.7.1 from Sourceforge
running on JBoss App Server 4.2.3.GA
Using the embedded HSQLDB
Windows XP 5.1.2600, SP2
Total Physical Memory: 1,025 MB
I'm getting a java.lang.OutOfMemoryError: PermGen space error. I thought I could modify the run.conf file to increase the available memory, but it doesn't seem to work. Here is my run.conf file:
## -*- shell-script -*- ######################################################
| ## ##
| ## JBoss Bootstrap Script Configuration ##
| ## ##
| ##############################################################################
|
| ### $Id: run.conf 62747 2007-05-02 17:43:36Z dimitris at jboss.org $
|
| #
| # This file is optional; it may be removed if not needed.
| #
|
| #
| # Specify the maximum file descriptor limit, use "max" or "maximum" to use
| # the default, as queried by the system.
| #
| # Defaults to "maximum"
| #
| #MAX_FD="maximum"
|
| #
| # Specify the profiler configuration file to load.
| #
| # Default is to not load profiler configuration file.
| #
| #PROFILER=""
|
| #
| # Specify the location of the Java home directory. If set then $JAVA will
| # be defined to $JAVA_HOME/bin/java, else $JAVA will be "java".
| #
| #JAVA_HOME="/opt/java/jdk"
|
| #
| # Specify the exact Java VM executable to use.
| #
| JAVA="C:\Program Files\Java\jre1.5.0_5\bin\java.exe"
|
| #
| # Specify options to pass to the Java VM.
| #
| if [ "x$JAVA_OPTS" = "x" ]; then
| JAVA_OPTS="-Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"
| fi
|
| # Sample JPDA settings for remote socket debuging
| #JAVA_OPTS="$JAVA_OPTS -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"
|
| # Sample JPDA settings for shared memory debugging
| #JAVA_OPTS="$JAVA_OPTS -Xrunjdwp:transport=dt_shmem,server=y,suspend=n,address=jboss"
|
| JAVA_OPTS="-XX:MaxPermSize=512m"
Did I edit the run.conf incorrectly? Again, any help is appreciated
-sjewett
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4209155#4209155
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4209155
More information about the jboss-user
mailing list