Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add JVM heap size documentation #144

Merged
merged 1 commit into from
Dec 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .docker/.env
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ JOB_SERVICE_DATABASE_PASSWORD=admin

AMQP_SERVER_USER=guest
AMQP_SERVER_PASSWORD=guest

WORKER_JVM_OPTS=-Xms512m -Xmx2048m
1 change: 1 addition & 0 deletions .docker/docker-compose-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ services:
- file-storage
- queue
environment:
JVM_OPTS: ${WORKER_JVM_OPTS}
AMQP_SERVER_HOST: queue
AMQP_USER: ${AMQP_SERVER_USER}
AMQP_PASSWORD: ${AMQP_SERVER_PASSWORD}
Expand Down
2 changes: 1 addition & 1 deletion .docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ services:
- file-storage
- queue
environment:
JVM_OPTS: -Xms512m -Xmx2048m
JVM_OPTS: ${WORKER_JVM_OPTS}
AMQP_SERVER_HOST: queue
AMQP_USER: ${AMQP_SERVER_USER}
AMQP_PASSWORD: ${AMQP_SERVER_PASSWORD}
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,6 @@ Config assumes that you launch services on the following ports:

## API Reference
https://github.com/veraPDF/verapdf-webapp-server/wiki/API-Reference

## JVM heap size
To change Java heap size in worker container change variable `WORKER_JVM_OPTS` in `.docker/.env` file.
Loading