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