Windows Installer, Java Installer, Freeware Installer
Home|Contact|Site Map|TOC|Search
Download  Features   Java  Licensing  Purchase  Testimonials  Support  Forums

The Edit JVM Parameters Dialog

Edit JVM Parameters DialogIn this dialog you can specify the JVM parameters for your Java Application.

Memory

You can set the values for the:

  • Initial heap size (-Xms parameter)
  • Maximum heap size (-Xmx parameter)
  • Java thread stack size (-Xss parameter)

You can specify a fixed size for the parameters in KiloBytes, MegaBytes or a variable size as percent of total physical memory. For example, if there are 256 MegaBytes of RAM memory installed on the system, specifying 50 Percent of Total Memory for the Initial heap size would mean a value of 128 MegaBytes.

You can also specify a minimum and maximum value for these parameters.

NoteWhen creating a Mac OS X package, the memory parameters are calculated as percent from the value you supplied in the Java Media Tab, because on Mac OS X we cannot determine the size of the physical memory so the specified value will be used.

A variable size value (in percents) is the recommended way of specifying these values, as it changes according to the conditions on the target system.

Runtime Options

You can also add some runtime options by checking the corresponding box:

  • Enable asserts in system classes (-esa)
  • Interpreted mode execution only (-Xint)
  • Disable class garbage collection (-Xnoclssgc)
  • Enable incremental garbage collection (-Xintcgc)
  • Disable background compilation (-Xbatch)
  • Reduced usage of operating-system signals (-Xrs)
Other Options

Other command line parameters can be entered directly in the "Command line" text field. Use the Smart Edit Control button to insert a reference to a file, folder or property. If a value for a parameter contains spaces or quotes ( " ) some rules must be applied:

  • If a parameter contains spaces it must be surrounded by quotes.
    Example: - my parameter with spaces - must be written as - "my parameter with spaces" -
  • If a parameter contains quotes you have to triple them.
    Example: - my"parameter"with"quotes- must be written as - my"""parameter"""with"""quotes -
  • If a parameter contains both spaces and quotes both above rules are applied:
    Example: - my parameter"with"quotes and spaces - must be written as - "my parameter"""with"""quotes and spaces"-
System Properties

System properties can be easily specified. Use the [ New ] button to create a new name / value pair, the [ Edit ] button to edit an existing pair or the [ Remove ] button to delete it. Don't apply any formatting rules, just enter the plain values, as Advanced Installer will do this for you.

Privacy Policy | Windows Installer | Search Engine Ranking | Link Analyzer