Artifactory 6.x:

ARTIFACTORY: How to add additional JVM arguments to Artifactory?

AuthorFullName__c
Nir Shervi
articleNumber
000005371
ft:sourceType
Salesforce
FirstPublishedDate
2022-08-14T08:50:08Z
lastModifiedDate
2022-08-14
VersionNumber
3
1. Edit the default/artifactory.default depends on how you are running Artifactory:
  • For a manual installation, modify JAVA_OPTIONS in $ARTIFACTORY_HOME/bin/artifactory.default.
  • For a service installation, modify JAVA_OPTIONS  in $ARTIFACTORY_HOME/etc/default
  • For an RPM or Debian installation, modify JAVA_OPTIONS in /etc/opt/jfrog/artifactory/default
  • For a Docker Container installation, pass the EXTRA_JAVA_OPTIONS environment variable to the docker run command
2. Add value as part of the Export JAVA_OPTIONS line.
3. Restart Artifactory.