-
Notifications
You must be signed in to change notification settings - Fork 501
Command line parameters
There are two ways to pass command line parameters to the CloudBeaver server.
Modify the run-cloudbeaver-server.sh script and add extra parameters after the java command in the last line.
For example, add a memory limit and UI language parameter:
java -Xmx2048M -jar ${launcherJar} \
-product io.cloudbeaver.product.ce.product \
-web-config conf/cloudbeaver.conf \
-nl en -registryMultiLanguageThen restart the server:
./run-cloudbeaver-server.shNote: To modify the script, you must build CloudBeaver from sources.
You can set the JAVA_OPTS environment variable with JVM parameters.
This works for both manual startup and Docker containers.
export JAVA_OPTS=-Xmx1000m
./run-cloudbeaver-server.shPass JAVA_OPTS to the container using the -e option:
docker run -d --name cloudbeaver-ee -p 8978:8978 \
-e JAVA_OPTS="-Xmx2048M" \
-v /var/cloudbeaver-ee/workspace:/opt/cloudbeaver/workspace \
dbeaver/cloudbeaver-ee:latestNote: only JVM parameters can be passed with
JAVA_OPTS.
| Name | Value | Example |
|---|---|---|
-nl |
UI language and locale (affects UI translation, number/date formats). For supported values, see Supported languages. | -nl "en" |
-data |
Workspace path. | -data "/opt/cloudbeaver/" |
-clean |
Clears all Eclipse caches. Use it if CloudBeaver fails to start after it upgrades. | |
-vmargs |
Passes VM parameters. | See VM arguments table |
Important: The
-dataparameter only affects the workspace location. Other folders are created in the default location.
You can pass any advanced Java parameters supported by your local JVM.
Parameters supported by HotSpot JVM (21): https://docs.oracle.com/en/java/javase/21/docs/specs/man/java.html
Parameters supported by all JVMs:
| Name | Value | Example |
|---|---|---|
-Xms |
Sets initial memory available for CloudBeaver. | -Xmx1000m |
-Xmx |
Sets maximum memory available for CloudBeaver. | -Xmx4000m |
- Getting started
- Create connection
- Connection network options
- Supported databases
-
Drivers management
- Database authentication methods
- Database navigator
- Properties editor
- Data editor
- SQL editor
-
Entity relation diagrams
- Cloud services
-
AI Smart assistance
- Data transfer
- General user guide
- Administration
- Server configuration
-
Server security and access configuration
- Authentication methods
- Access management
- Proxy configuration
-
Secret management
- Logs
-
Query manager
- Workspace location
- Command line parameters
-
Session manager
- Deployment options
- CloudBeaver Editions
- FAQ
- Development