Re: How to make Jenkins container use more of my host's memory?

2024-07-25 Thread zil...@gmail.com
Like always, I ask the question then I find the answer, which is docker run --restart=unless-stopped -d -p 8080:8080 -v /home/jenkins:/var/jenkins_home --name jenkins_master --env JAVA_OPTS="-Xms24g -Xmx24g" 0123456789.dkr.ecr.us-east-1.amazonaws.com/jenkins_master:lts On Friday, July 26, 202

How to make Jenkins container use more of my host's memory?

2024-07-25 Thread zil...@gmail.com
I have an AWS EC2 box with 32GB host memory. I run Jenkins as a container, like this, hoping to use 24/32 GB of memory. docker run --restart=unless-stopped -d -p 8080:8080 -v /home/jenkins:/var/jenkins_home --name jenkins_master --memory=24GB 0123456789.dkr.ecr.us-east-1.amazonaws.com/jenkins_m