Guide to Adjusting JVM Properties Through the Settings Panel
Guide to Adjusting JVM Properties Through the Settings Panel
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] Decoding the Functionality of YouTube's Media Hub
- Button-Free Reboot Techniques for All iPhones - A Step-by-Step Guide
- Comment Résoudre Le Problème De Non-Reconnaissance Du SSD NVMe Dans Windows 11 ?
- How to Reshape an SSD Drive on a Hard Disk in Windows 10/11 with Secure Boot Enabled
- In 2024, Best Free Design Resources in After Effects Land
- In 2024, Unlock the Full Potential of Your PC/Gaming with OBS
- Navigating the Tech World with Tom: Comprehensive Hardware Insights & Reviews
- Proses Detail Dalam Mengembalikan Data Bagian Apabila Anda Melakukan Pembersih Disk
- Proses Meskan NVMe SSD Di Slot Tanggul - Kunci Yang Memperdalam!
- Quickly Restore Lost Documents Using Windows 10'S Quick Access Feature
- Restore Files From Your Western Digital HDD/SSD Using Advanced Data Rescue Services
- Step-by-Step Guide to Transferring and Safeguarding Laptop Files on Windows 11 Using an External Disk
- Twitter Video Dimensions Aspect Ratio Standards
- Title: Guide to Adjusting JVM Properties Through the Settings Panel
- Author: Scott
- Created at : 2024-10-16 09:02:02
- Updated at : 2024-10-17 06:17:02
- Link: https://fox-ssl.techidaily.com/guide-to-adjusting-jvm-properties-through-the-settings-panel/
- License: This work is licensed under CC BY-NC-SA 4.0.