Skip to main content

About JVM setting

1 reply [Last post]
cytchiu
Offline
Joined: 2009-06-25

This is my jvm setting:

-Xms1024m -Xmx1024m -XX:NewSize=341m -XX:MaxNewSize=341m -XX:OldSize=683m -XX:+UseParallelOldGC -XX:ParallelGC
Threads=7 -XX:PermSize=384m -XX:MaxPermSize=384m -Xloggc:/u01/app/jboss_sit/server/all/log/gc.log -Dsun.rmi.dgc.client.gcInterval=300000 -Dsun.rmi.dgc.server.gcInterval=300000 -Dhk.gov.ogcio.egis.rm.common.PROPERTIES_FILEPATH=/u01/app/jboss_sit/tp/config/rm -DtpPortal.contextroot=sit/eTax -DtpSurgeCtl.contextroot=sitSurgeCtl -Dbind.address=irdapp2-ip-hb -verbose:gc -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -XX:SoftRefLRUPolicyMSPerMB=0 -Djavax.net.ssl.sessionCacheSize=30

I want to know, if the New, Old and PermGen sizes are set probably?
My heap size is 1G
New+Old Size is 1G
Perm Size is 384M
I wonder is the heap size is only New+Old, or it is New+Old+Perm?

By the way, is there any furhter improvement for the setting?
Thank you.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
nagee
Offline
Joined: 2009-09-08

Configuring the JVM General Settings

The Java Virtual Machine (JVM) is included in the Java 2 Standard Edition (J2SE™) software, which is required by the Application Server. Because incorrect JVM settings will prevent the server from running, you should take care when changing these settings.

To configure the general settings of the JVM used by the Application Server:

1. In tree component, select the Application Server node.
2. Click the JVM Settings tab.
3. By default, the General link located below the tabs is already selected.
4. On the JVM General Settings page, you may specify the following:
1. In the Java Home field, enter the name of the installation directory of the Java 2 Standard Edition (J2SE) software.

The Application Server relies on the J2SE software. To verify that the J2SE version you specify is supported in this release, refer to the Release Notes. (See the link in the Further Information section.)

Note: If you enter a non-existent directory name or the installation directory name of an unsupported version of the J2SE software, then the Application Server will not start.
2. In the Javac field, type the command-line options for the Java programming language compiler.

The Application Server runs the compiler when EJB components are deployed.
3. To set up debugging with the JPDA (Java Platform Debugger Architecture), you select the Debug Enabled checkbox and specify options in the Debug Options field.

JPDA is used by application developers. For more information, see the Debugging J2EE Applications chapter of the Application Server Developer’s Guide. (For a link to the guide, see Further Information.)
4. In the RMI Compile Options field, type the command-line options for the rmic compiler.

The Application Server runs the rmic compiler when EJB components are deployed.
5. In the Bytecode Preprocessor field, type a comma separated list of class names.

Each class must implement the com.sun.appserv.BytecodePreprocessor interface. The classes are called in the order specified.

Tools such as profilers might require entries in the Bytecode Preprocessor field. Profilers generate information used to analyze server performance. For more information about profiling, see the Debugging J2EE Applications chapter of the Application Server Developer’s Guide.
5. Click Save.
6. Restart the server.

[url=http://newmethodwellness.com/]alcoholism treatment[/url]
[url=http://www.vitamine-und-mehr.org/xcart/catalog/category_259_Antioxidantien_orderby0_page_1.html]antioxidantien[/url]