File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Performance and the fly likes JVM settings Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Performance
Reply Bookmark "JVM settings" Watch "JVM settings" New topic
Author

JVM settings

Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8845

Hi all,
How to configure JVM for production environment. I am using JRUN 4.o server
Thanx


Groovy
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Basically, use the -server switch to activate the server-hotspot-engine and -Xms..., -Xmx... to set the memory usage according to your needs and available resources.
see http://java.sun.com/j2se/1.4.1/docs/tooldocs/windows/java.html#options for more information on available options.
(presuming you are using a Sun JVM, of course...)
[ October 23, 2002: Message edited by: Ilja Preuss ]

The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8845

Hi,
How do I decide about the various parameter values .For e.g. -Xms
 
 
subject: JVM settings
 
Threads others viewed
jvm scope
main() doubts
Query on JVM
size for data type boolean
WA #2 ..... word association
IntelliJ Java IDE

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture