This content has been marked as final.
Show 2 replies
-
1. Re: JVM tuning with Seam and JBDS
gonorrhea Apr 4, 2009 12:34 AM (in response to gonorrhea)Ok, here's what I have right now as VM args in my JBoss edit config:
-server -Xms256m -Xmx1024m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=512m -Xverify:none
this is based on recommendation in DAllen's book
and this is from my eclipse.ini:
-framework plugins\org.eclipse.osgi_3.4.3.R34x_v20081215-1030.jar -vmargs -Xms512m -Xmx512m -XX:MaxPermSize=256m -Dosgi.bundles=reference:file:org.eclipse.equinox.simpleconfigurator_1.0.0.v20080604.jar@1:start,org.eclipse.equinox.transforms.xslt@1:start,org.jboss.tools.equinox.transforms.xslt@1:start
-
2. Re: JVM tuning with Seam and JBDS
pragun1 Apr 22, 2009 2:54 PM (in response to gonorrhea)My developement environment, I starts my JBoss5.0.0 server from Eclipse3.4.1 on WindowXP-4GBRAM
(1) Eclipse shortcut
C:\java\eclipse3.4.1\eclipse.exe -clean -Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m
(2) eclipse.ini
--launcher.XXMaxPermSize
256M
-framework
plugins\org.eclipse.osgi_3.4.2.R34x_v20080826-1230.jar
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
(3) Eclipse-->JBoss server-->Edit launch configuration
Program argument: -c default -b 0.0.0.0
VM argument: -Dprogram.name=run.bat -Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m
(As suggested in Seam Reference 2.1.1GA.pdf Chapter2.1)