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 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 com.sun.facelets.compiler.TagLibraryConfig loadImplicit<br>
INFO: Added Library from: 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!/META-INF/portal.taglib.xml">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>
10:54:20,912 ERROR [STDERR] Feb 14, 2008 10:54:20 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit<br>INFO: Added Library from: 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/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml">portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml</a><br>
10:54:20,948 ERROR [STDERR] Feb 14, 2008 10:54:20 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit<br>INFO: Added Library from: 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/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml">portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml</a><br>
10:54:20,961 ERROR [STDERR] Feb 14, 2008 10:54:20 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit<br>INFO: Added Library from: 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/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml">portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml</a><br>
10:54:21,017 ERROR [STDERR] Feb 14, 2008 10:54:21 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit<br>INFO: Added Library from: 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/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml">portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml</a><br>
10:54:21,027 ERROR [STDERR] Feb 14, 2008 10:54:21 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit<br>INFO: Added Library from: 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/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml">portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml</a><br>
10:54:21,594 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.READONLY_AS_DISABLED_FOR_SELECTS' found, using default value true<br>10:54:21,594 INFO [MyfacesConfig] Tomahawk jar not available. Autoscrolling, DetectJavascript, AddResourceClass and CheckExtensionsFilter are disabled now.<br>
10:54:21,594 INFO [MyfacesConfig] Starting up Tomahawk on the RI-JSF-Implementation.<br>10:54:21,594 INFO [MyfacesConfig] Starting up Tomahawk on the MyFaces-JSF-Implementation<br>10:54:21,594 ERROR [MyfacesConfig] Both MyFaces and the RI are on your classpath. Please make sure to use only one of the two JSF-implementations.<br>
10:54:42,481 ERROR [STDERR] Feb 14, 2008 10:54:42 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit<br>INFO: Added Library from: jar:file:/opt/jboss-<a href="http://portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml">portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml</a><br>
10:54:42,498 ERROR [STDERR] Feb 14, 2008 10:54:42 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit<br>INFO: Added Library from: jar:file:/opt/jboss-<a href="http://portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml">portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml</a><br>
10:54:42,503 ERROR [STDERR] Feb 14, 2008 10:54:42 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit<br>INFO: Added Library from: jar:file:/opt/jboss-<a href="http://portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/portal-faces-lib.jar!/META-INF/portal.taglib.xml">portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/portal-faces-lib.jar!/META-INF/portal.taglib.xml</a><br>
10:54:42,517 ERROR [STDERR] Feb 14, 2008 10:54:42 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit<br>INFO: Added Library from: jar:file:/opt/jboss-<a href="http://portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml">portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml</a><br>
10:54:42,524 ERROR [STDERR] Feb 14, 2008 10:54:42 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit<br>INFO: Added Library from: jar:file:/opt/jboss-<a href="http://portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml">portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml</a><br>
10:54:42,531 ERROR [STDERR] Feb 14, 2008 10:54:42 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit<br>INFO: Added Library from: jar:file:/opt/jboss-<a href="http://portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml">portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml</a><br>
10:54:42,812 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.READONLY_AS_DISABLED_FOR_SELECTS' found, using default value true<br>10:54:42,812 INFO [MyfacesConfig] Tomahawk jar not available. Autoscrolling, DetectJavascript, AddResourceClass and CheckExtensionsFilter are disabled now.<br>
10:54:42,812 INFO [MyfacesConfig] Starting up Tomahawk on the RI-JSF-Implementation.<br>10:54:42,812 INFO [MyfacesConfig] Starting up Tomahawk on the MyFaces-JSF-Implementation<br>10:54:42,812 ERROR [MyfacesConfig] Both MyFaces and the RI are on your classpath. Please make sure to use only one of the two JSF-implementations.<br>
10:54:53,906 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception<br>10:56:12,779 ERROR [[PortalServletWithPathMapping]] Servlet.service() for servlet PortalServletWithPathMapping threw exception<br>java.lang.OutOfMemoryError: PermGen space<br>
11:10:45,384 ERROR [ContainerBase] Exception invoking periodic operation: <br>java.lang.OutOfMemoryError: PermGen space<br><br><br><div class="gmail_quote">On Wed, Feb 13, 2008 at 8:10 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;">What are your JavaOpts? You DO have the Env. Var set, right?<br>
<br>
If you need to increase your memory, try increasing the memory settings using<br>
JavaOpts.<br>
<br>
java -X for details. Don't forget to check what Java launches with as a minimum<br>
(I forget off hand, but its not alot, and may not be enough in your case).<br>
<br>
For my Eclipse environment, I have the following settings;<br>
-Xms256m -Xmx512m -XX:PermSize=64m -XX:MaxPermSize=128m<br>
<br>
-Steve<br>
<div class="Ih2E3d"><br>
Chris Case wrote:<br>
> I decided that it may help to give some more information about my setup,<br>
> as I keep running into this "PermGen Space" error.<br>
><br>
> The JBoss installation I'm using is freshly unzipped and installed with<br>
> no changes.<br>
><br>
> I'm running JBoss with the following specs:<br>
><br>
</div>> *JBoss Portal:* <a href="http://2.6.3.GA" target="_blank">2.6.3.GA</a> <<a href="http://2.6.3.GA" target="_blank">http://2.6.3.GA</a>><br>
<div class="Ih2E3d">> *Operating System:* Ubuntu 7.10 using a<br>
> *Processor:* Dual Intex Xeon 64-bit 4-core processors<br>
> *Ram:* 8 GB<br>
> *Java:* Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_13-b05, mixed mode)<br>
><br>
<br>
<br>
</div>_______________________________________________<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>
</blockquote></div><br>