What should be minimum and maximum recommended size for heap memory in JENKINS as per ram size ?
While starting jenkins server on Docker container, generally pass JAVA_OPTS parameter for heap memory allocation. There parameters are given below, Use -Xmx to specify the maximum heap size Use -Xms to specify the initial Java heap size Use -Xss to set the Java thread stack size The example command would be: ``` docker run --name myjenkins -p 8080:8080 -p 50000:50000 --env JAVA_OPTS=-Xmx512m-Xms512m Dhudson.footerURL=http://mycompany.com jenkins/jenkins:lts ``` -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/898556ed-4b78-4d3e-a72b-206d8ce6476cn%40googlegroups.com.