Skip to content

Commit

Permalink
Add JVM heap size documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
EkaterinaKomar committed Dec 6, 2023
1 parent 4b5e2c9 commit 2727357
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
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.

0 comments on commit 2727357

Please sign in to comment.