How to Customize Java VM Settings via the Configuration Dialog
How to Customize Java VM Settings via the Configuration Dialog
Table of Contents
- Introduction
- Registration
- Using Advanced Installer
- GUI
- Working with Projects
- Installer Project
* Product Information
* Resources
* Files and Folders
* Tiles
* Java Products
* Java Settings
* Java Product Settings
* Java Virtual Machine
* JVM Parameters Dialog
* JVM System Property Dialog
* Mac OS X settings
* Java Product Localization
* Registry
* File Associations
* Assemblies
* Drivers
* Services
* Package Definition
* Requirements
* User Interface
* System Changes
* Server
* Custom Behavior - Patch Project
- Merge Module Project
- Updates Configuration Project
- Windows Store App Project
- Modification Package Project
- Optional Package Project
- Windows Mobile CAB Projects
- Visual Studio Extension Project
- Software Installer Wizards - Advanced Installer
- Visual Studio integration
- Alternative to AdminStudio/Wise
- Replace Wise
- Migrating from Visual Studio Installer
- Keyboard Shortcuts
- Shell Integration
- Command Line
- Advanced Installer PowerShell Automation Interfaces
- Features and Functionality
- Tutorials
- Samples
- How-tos
- FAQs
- Windows Installer
- Deployment Technologies
- IT Pro
- MSIX
- Video Tutorials
- Advanced Installer Blog
- Table of Contents
Disclaimer: This post includes affiliate links
If you click on a link and make a purchase, I may receive a commission at no extra cost to you.
Edit Java Virtual Machine Parameters Dialog
In this dialog, you can specify the Java Virtual Machine 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 a 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.
When creating a Mac OS X package, the memory parameters are calculated as a percent from the value you supplied in the Mac OS X Tab , because on Mac OS X we cannot determine the physical memory’s size, 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 run-time options by checking the corresponding box:
- Enable asserts in system classes (-esa)
- Interpreted mode execution only (-Xint)
- Disable class garbage collection (-Xnoclassgc)
- Enable incremental garbage collection (-Xincgc)
- Disable background compilation (-Xbatch)
- Reduced usage of operating-system signals (-Xrs)
Other Options
Other JVM parameters can be entered directly in the “Other parameters” 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 double 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”-
These parameters will be added to the end of the list of parameters generated by the other settings you specify in this dialog.
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.
Topics
- JVM System Property Dialog
The New JVM System Property Dialog in Advanced Installer.
Did you find this page useful?
Please give it a rating:
Thanks!
Report a problem on this page
Information is incorrect or missing
Information is unclear or confusing
Something else
Can you tell us what’s wrong?
Send message
Also read:
- [New] In 2024, Exclusive Review Top 10 Gratis Gaming Screen Recorder Apps
- [New] In 2024, How to Choose Best-Free YouTube Video Editor Apps on iOS
- [New] In 2024, Unearthing Your Private Playlist Sanctuary on Youtube
- [Updated] 2024 Approved Bypassing Costs Your Step-by-Step to FCP
- Alternate Methods for Capturing Screenshots in Windows 10 Games
- Comprehensive Guide for Automotive Enthusiasts and Drivers
- DIY Image Editing: Vanish Subjects From Photos Effortlessly without Adobe
- Easy Guide: How to Conduct an I-Reg Entry Version Search
- Effective Use of IXMLFileInstall for Streamlined System Configuration
- Harnessing LUT Power for Free, High-Quality Colorization for 2024
- Illustrative SQL Queries: A Comprehensive Guide
- In 2024, Fake the Location to Get Around the MLB Blackouts on Apple iPhone XR | Dr.fone
- Locate Your Running Microsoft Office Products: Step-by-Step Tips
- Maximizing Device Availability: Preparing Your Apple Gadget for the iOS 8 Upgrade by Cleaning Space
- Simple Methods to Stream Several Videos Together Effortlessly
- Simple Ways to Copy Videos Onto Your iPhone Without Using iTunes
- T-Mobile's Wireless Roaming Agreements and How They Enhance Your Data Experience
- The Ultimate Guide to the Best PS3 Gaming on PC
- Top Selections for Speedy Facebook Video Transfers and Streams for 2024
- Title: How to Customize Java VM Settings via the Configuration Dialog
- Author: John
- Created at : 2024-10-04 20:53:46
- Updated at : 2024-10-11 05:59:32
- Link: https://fox-search.techidaily.com/how-to-customize-java-vm-settings-via-the-configuration-dialog/
- License: This work is licensed under CC BY-NC-SA 4.0.