Skip to content
Snippets Groups Projects
Commit 10e489ed authored by Piotr Gawron's avatar Piotr Gawron
Browse files

by defaul tomcat7 inside Docker image can use up to 3G memory

parent e2fd42c7
No related branches found
No related tags found
1 merge request!363Resolve "memory limit on docker instance"
Pipeline #
......@@ -45,6 +45,7 @@ ADD policy-rc.d /tmp/policy-rc.d
RUN apt-get update
RUN sed -i "/JAVA_OPTS=\"-Djava.awt.headless=true -Xmx128m -XX:+UseConcMarkSweepGC\"/c\JAVA_OPTS=\"-Djava.awt.headless=true -Xmx3096m -XX:+UseConcMarkSweepGC\"" /etc/default/tomcat7
#when we install minerva allow to start services, so everything can be installed properly
#but we need to disable tomcat7 because tomcat7 requires SYS_PTRACE and we cannot start it:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment