[jboss-user] [Performance Tuning] - Increase jboss Memory

elshereif do-not-reply at jboss.com
Sat Feb 28 06:09:57 EST 2009


Hello 
I'm Running JBoss 4.0.2 on Sun Sparc 64bit Servers with Memory of 16GB
I'm trying to incease the jvm memory size to be 4GB 
I use the following command in jboss Run.conf File
JAVA_OPTS="$JAVA_OPTS -d64 -Xmn4096m -Xms3072m -Xmx3072m -XX:+UseParallelGC -XX:ParallelGCThreads=5 -verbose:gc"

it prints the following
So what i need to do to set the memory to 4GB 


JBoss Bootstrap Environment

JBOSS_HOME: /JBOSS/iboss/jboss-4.0.2RC1

JAVA: java

JAVA_OPTS: -d64 -Xmn1024m -Xms3072m -Xmx3072m -XX:ThreadStackSize=128
-XX:+UseParallelGC -XX:ParallelGCThreads=8 -verbose:gc -Xloggc:/gclog.txt -XX:+PrintGCDetails -Dcom.sun.management.jmxremote.port=50050 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dprogram.name=run.sh

CLASSPATH: /JBOSS/iboss/jboss-4.0.2RC1/bin/run.jar:/lib/tools.jar

=========================================================================

17:13:47,049 INFO [Server] Starting JBoss (MX MicroKernel)...
17:13:47,054 INFO [Server] Release ID: JBoss [Zion] 4.0.2RC1 (build: CVSTag=JBoss_4_0_2_RC1 date=200503140913)
17:13:47,055 INFO [Server] Home Dir: /JBOSS/iboss/jboss-4.0.2RC1
17:13:47,056 INFO [Server] Home URL: file:/JBOSS/iboss/jboss-4.0.2RC1/
17:13:47,057 INFO [Server] Library URL: file:/JBOSS/iboss/jboss-4.0.2RC1/lib/
17:13:47,061 INFO [Server] Patch URL: null
17:13:47,062 INFO [Server] Server Name: default
17:13:47,062 INFO [Server] Server Home Dir: /JBOSS/iboss/jboss-4.0.2RC1/server/default
17:13:47,064 INFO [Server] Server Home URL: file:/JBOSS/iboss/jboss-4.0.2RC1/server/default/
17:13:47,065 INFO [Server] Server Data Dir: /JBOSS/iboss/jboss-4.0.2RC1/server/default/data
17:13:47,065 INFO [Server] Server Temp Dir: /JBOSS/iboss/jboss-4.0.2RC1/server/default/tmp
17:13:47,066 INFO [Server] Server Config URL: file:/JBOSS/iboss/jboss-4.0.2RC1/server/default/conf/
17:13:47,067 INFO [Server] Server Library URL: file:/JBOSS/iboss/jboss-4.0.2RC1/server/default/lib/
17:13:47,068 INFO [Server] Root Deployment Filename: jboss-service.xml
17:13:47,080 INFO [Server] Starting General Purpose Architecture (GPA)...
psrset: cannot bind pid 7221: Invalid argument
psrset: invalid process ID: 6521
root at DR-IBOSS-ES00-WF00 # 17:13:48,443 INFO [ServerInfo] Java version: 1.5.0_12,Sun Microsystems Inc.
17:13:48,444 INFO [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 1.5.0_12-b04,Sun Microsystems Inc.
17:13:48,445 INFO [ServerInfo] OS-System: SunOS 5.10,sparcv9
17:13:50,046 INFO [Server] Core system initialized
17:13:53,792 ERROR [MainDeployer] could not create deployment: file:/JBOSS/iboss/jboss-4.0.2RC1/server/default/conf/jboss-service.xml
org.jboss.deployment.DeploymentException: Unexpected error during load of: org.jboss.management.j2ee.LocalJBossServerDomain, msg=org/jboss/management/j2ee/LocalJBossServerDomainMBean; - nested throwable: (java.lang.ClassNotFoundException: Unexpected error during load of: org.jboss.management.j2ee.LocalJBossServerDomain, msg=org/jboss/management/j2ee/LocalJBossServerDomainMBean)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:143)
at org.jboss.system.ServiceController.install(ServiceController.java:200)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213927#4213927

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213927



More information about the jboss-user mailing list