Search code examples
jvmartifactorybambooconfluence

JVM Tuning for Atlassian applications on Large Ec2 instance


Can anyone help me to understand what JVM memory size I can use for Large Ec2 Instances?

I am working on five applications - Atlassian apps (Bamboo, Bitbucket, Confluence, Jira) and Artifactory?

For Jira Application I found information online but no for other apps


Solution

  • Large EC2 instance is slightly ambiguous, so I'll assume you're referring to the general purpose category, which has 2vCPUs and 8GiB of RAM.

    The documentation advises you to reserve at least 512MB for JFrog Artifactory, with the recommended minimal JVM parameters being:

    -server -Xms512m -Xmx2g -Xss256k -XX:+UseG1GC
    

    Based on the number of developers you're planning to service with JFrog Artifactory, you'll need to update the -Xmx parameter. The "Recommended Hardware" table in the documentation, will give you an overview of the suggested amount of RAM based on the number of developers.