Docker: Java_extra_opts -> reduce/increase heap space

Hi, I have a “out of heap space” memory leak going on with a binding. To diagnose the binding faster, I want to reduce heap space first (so the problem occurs faster) and then increase to see the difference.

Ho do I do this exactly in a docker-container (best with the env-variable). I never got it to work as my variable is not recognized…

I can confirm this working on docker-compose:

 EXTRA_JAVA_OPTS=-Xms500m -Xmx800m -Duser.timezone=Europe/Vienna

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.