Thanks for your response Per.
I can confirm it's dynamically. We increased our resources and the heapsize increased for our tomcat.
When we want to increase the heap_size with the size of our environment variable. Where do I have to set this?
Inside the tomcat container or on our openshift-master or... ?