Steve,<br><br>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.<br><br> 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"<br>
<br>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.<br><br>Thanks,<br>Chris<br><br><div class="gmail_quote">On Thu, Feb 14, 2008 at 2:32 PM, Stephen Davidson <<a href="mailto:gorky@freenet.carleton.ca">gorky@freenet.carleton.ca</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Chris.<br>
<br>
Try 'doubling' the values I gave you. I am not running JBoss Portal myself. If<br>
there was a memory constraint, I am surprised it was not listed. To solve an<br>
issue like this, you need to do Minimum as well as Max. The JVMs do not always<br>
handle allocating new memory for new objects as well as they should. They have<br>
been known to OOM even when they have not used all maximum, as they only<br>
allocated minimum amounts.<br>
<br>
Also, from the command line, try running 'java -X' to figure out what you have<br>
in way of GC. Might want to try Incremental and/or Concurrent, if available.<br>
<br>
steve@gorky:~> export JAVA_OPTS="-Dprogram.name=$PROGNAME $JAVA_OPTS" -Xmx2048m<br>
bash: export: `-Xmx2048m': not a valid identifier<br>
???<br>
Are you sure you have your JAVA_OPTS actually reset/changed? I would echo your<br>
JAVA_OPTS (or check the JBoss startup right at the start) to see what they<br>
currently are.<br>
<br>
Also, interesting thet the Portal seems to be doing all sorts of Warns and<br>
Errors on startup. You might want to check out the Portal Forum, and see if<br>
there is anything on this topic there.<br>
<br>
Regards,<br>
Steve<br>
<div class="Ih2E3d"><br>
Chris Case wrote:<br>
> Thanks for the suggestion Steve. I had originally tried:<br>
><br>
> JAVA_OPTS="-Dprogram.name=$PROGNAME $JAVA_OPTS" -Xmx2048m<br>
><br>
> I also tried the one you listed for your eclipse environment:<br>
><br>
> -Xms256m -Xmx512m -XX:PermSize=64m -XX:MaxPermSize=128m<br>
><br>
> But now I'm getting the following error, followed by another<br>
> OutOfMemoryError. Perhaps I need to use another 64-bit JVM...<br>
><br>
> 10:54:20,875 ERROR [STDERR] Feb 14, 2008 10:54:20 AM<br>
> com.sun.facelets.compiler.TagLibraryConfig loadImplicit<br>
> INFO: Added Library from:<br>
> jar:file:/opt/jboss-<a href="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%21/META-INF/portal.taglib.xml" target="_blank">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</a><br>
</div>> <<a href="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%21/META-INF/portal.taglib.xml" target="_blank">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</a>><br>
<div class="Ih2E3d">> 10:54:20,912 ERROR [STDERR] Feb 14, 2008 10:54:20 AM<br>
> com.sun.facelets.compiler.TagLibraryConfig loadImplicit<br>
<br>
</div><div><div></div><div class="Wj3C7c">_______________________________________________<br>
jboss-user mailing list<br>
<a href="mailto:jboss-user@lists.jboss.org">jboss-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/jboss-user" target="_blank">https://lists.jboss.org/mailman/listinfo/jboss-user</a><br>
</div></div></blockquote></div><br>