Steve,<br><br>Thanks again for the advice.&nbsp; I ended up changing the settings in my run.conf to the following.&nbsp; The memory error isn&#39;t occurring anymore.<br><br>&nbsp;JAVA_OPTS=&quot;-Xms4096m -Xmx6114m -XX:NewRatio=10 -XX:PermSize=64M -XX:MaxPermSize=128M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000&quot;<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 &lt;<a href="mailto:gorky@freenet.carleton.ca">gorky@freenet.carleton.ca</a>&gt; 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 &#39;doubling&#39; the values I gave you. &nbsp;I am not running JBoss Portal myself. &nbsp;If<br>
there was a memory constraint, I am surprised it was not listed. &nbsp;To solve an<br>
issue like this, you need to do Minimum as well as Max. &nbsp;The JVMs do not always<br>
handle allocating new memory for new objects as well as they should. &nbsp;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 &#39;java -X&#39; to figure out what you have<br>
in way of GC. &nbsp;Might want to try Incremental and/or Concurrent, if available.<br>
<br>
steve@gorky:~&gt; export JAVA_OPTS=&quot;-Dprogram.name=$PROGNAME $JAVA_OPTS&quot; -Xmx2048m<br>
bash: export: `-Xmx2048m&#39;: not a valid identifier<br>
???<br>
Are you sure you have your JAVA_OPTS actually reset/changed? &nbsp;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. &nbsp;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>
&gt; Thanks for the suggestion Steve. I had originally tried:<br>
&gt;<br>
&gt; JAVA_OPTS=&quot;-Dprogram.name=$PROGNAME $JAVA_OPTS&quot; -Xmx2048m<br>
&gt;<br>
&gt; I also tried the one you listed for your eclipse environment:<br>
&gt;<br>
&gt; -Xms256m -Xmx512m -XX:PermSize=64m -XX:MaxPermSize=128m<br>
&gt;<br>
&gt; But now I&#39;m getting the following error, followed by another<br>
&gt; OutOfMemoryError. &nbsp;Perhaps I need to use another 64-bit JVM...<br>
&gt;<br>
&gt; 10:54:20,875 ERROR [STDERR] Feb 14, 2008 10:54:20 AM<br>
&gt; com.sun.facelets.compiler.TagLibraryConfig loadImplicit<br>
&gt; INFO: Added Library from:<br>
&gt; 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>&gt; &lt;<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>&gt;<br>

<div class="Ih2E3d">&gt; 10:54:20,912 ERROR [STDERR] Feb 14, 2008 10:54:20 AM<br>
&gt; 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>