Steve,

Thanks again for the advice.  I ended up changing the settings in my run.conf to the following.  The memory error isn't occurring anymore.

 JAVA_OPTS="-Xms4096m -Xmx6114m -XX:NewRatio=10 -XX:PermSize=64M -XX:MaxPermSize=128M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"

I am still getting some other errors with WSRP and facelets, but I will have to resolve those in a separate thread if I am unable to find a solution myself.

Thanks,
Chris

On Thu, Feb 14, 2008 at 2:32 PM, Stephen Davidson <gorky@freenet.carleton.ca> wrote:
Hi Chris.

Try 'doubling' the values I gave you.  I am not running JBoss Portal myself.  If
there was a memory constraint, I am surprised it was not listed.  To solve an
issue like this, you need to do Minimum as well as Max.  The JVMs do not always
handle allocating new memory for new objects as well as they should.  They have
been known to OOM even when they have not used all maximum, as they only
allocated minimum amounts.

Also, from the command line, try running 'java -X' to figure out what you have
in way of GC.  Might want to try Incremental and/or Concurrent, if available.

steve@gorky:~> export JAVA_OPTS="-Dprogram.name=$PROGNAME $JAVA_OPTS" -Xmx2048m
bash: export: `-Xmx2048m': not a valid identifier
???
Are you sure you have your JAVA_OPTS actually reset/changed?  I would echo your
JAVA_OPTS (or check the JBoss startup right at the start) to see what they
currently are.

Also, interesting thet the Portal seems to be doing all sorts of Warns and
Errors on startup.  You might want to check out the Portal Forum, and see if
there is anything on this topic there.

Regards,
Steve

Chris Case wrote:
> Thanks for the suggestion Steve. I had originally tried:
>
> JAVA_OPTS="-Dprogram.name=$PROGNAME $JAVA_OPTS" -Xmx2048m
>
> I also tried the one you listed for your eclipse environment:
>
> -Xms256m -Xmx512m -XX:PermSize=64m -XX:MaxPermSize=128m
>
> But now I'm getting the following error, followed by another
> OutOfMemoryError.  Perhaps I need to use another 64-bit JVM...
>
> 10:54:20,875 ERROR [STDERR] Feb 14, 2008 10:54:20 AM
> com.sun.facelets.compiler.TagLibraryConfig loadImplicit
> INFO: Added Library from:
> jar:file:/opt/jboss-portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/portal-faces-lib.jar!/META-INF/portal.taglib.xml
> <http://portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/portal-faces-lib.jar!/META-INF/portal.taglib.xml>
> 10:54:20,912 ERROR [STDERR] Feb 14, 2008 10:54:20 AM
> com.sun.facelets.compiler.TagLibraryConfig loadImplicit

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user