With said Docker Container from: https://hub.docker.com/r/fionnb/picapport it sadly isn't possible to set JAVA memory options.
The Docker starts up picapport with running pa-start.sh
. So I copied that script from inside the Container and (very dirty!) adapted it to be able to set -XX:MaxDirectMemorySize=2048m -Xms256m -Xmx1024m
to one's own liking.
The diff to the original is added below.
For to make this work, create the docker-compose.yml
& pa-start.sh
inside the same folder and make pa-start.sh
executeable with chmod +x pa-start.sh
Adjust the docker-compose.yml
to your own setup and start up with docker-compose up -d