Artifactory and Distribution are Java-based product that require JDK 21 or higher to run.
OpenJDK is already bundled into the applications.
JVM Memory Allocation
While not a strict requirement, we recommend that you modify the JVM memory parameters used to run Artifactory.
You should reserve at least 512MB for Artifactory. The larger your repository or number of concurrent users, the larger you need to make the -Xms
and -Xmx
values accordingly.
Set your JVM parameters in the system.yaml configuration file.
The following snippet shows an example of the update required in the system.yaml
file.
shared: extraJavaOpts: "-Xms512m -Xmx2g"