If you can reserve at least 512MB for Artifactory, the recommended values for JVM parameters are:
The larger your repository or number of concurrent users, the larger you need to make the -Xms and -Xmx values accordingly. Recommended minimal values are:
-server -Xms512m -Xmx2g -Xss256k -XX:+UseG1GC
For more recommendations about your hardware configuration (especially the -Xmx parameter), please refer to Recommended Hardware.
Where you set your JVM parameters depends on how you are running Artifactory: