I added the following line in the docker environment file to increase memory allocation from the default settings for various OOM errors I encountered. Obviously you’d want to use settings appropriate for your server capacity.
CATALINA_OPTS="-Xms1G -Xmx10G -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005"
In the Docker log look for the following lines to confirm:
broadsea-webtools2 | 13-Dec-2022 17:26:42.138 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms1G
broadsea-webtools2 | 13-Dec-2022 17:26:42.138 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx10G