-
Notifications
You must be signed in to change notification settings - Fork 208
Custom VM Args
When using the Spring Tools 4 on top of Eclipse, you can now specify and pass custom VM arguments to the language server process. In order to do that, add an additional system property at the end of your eclipse.ini
or SpringToolSuite4.ini
file. For example:
-Dboot.ls.custom.vmargs=-Xmx3G
to pass the argument -Xmx3G
to the language server process.
You can also specify more than one argument, for example:
-Dboot.ls.custom.vmargs=-Xmx3048m,-Xdebug,-Xrunjdwp:server=y,transport=dt_socket,address=4000,suspend=n
This sets the max heap size to 3048m and various debug options.
Usually you don't need to specify any VM arguments for that language server process, but it opens up a lot of possibilities for analyzing and debugging issues - or to change the settings in case that is needed for other reasons.
- Installation (latest release + snapshots)
- User Guide
- Getting Started
- Navigation
- Live Application Information
- Content Assist
- Version Validation
- Upgrade Support
- Validations and Quick Fixes
- WebFlux Support
- Boot Properties Editor
- Boot Dashboard
- Other Editors
- STS3
- Custom VM args
- FAQ
- Changelog
- Known Limitations & Issues
- Report an Issue
- Developer Manual
- Overview
- Language Server Integration into Clients
- Communication with JDT LS
- STS4 Language Server Protocol Extensions