Additional Production Considerations - ambitus/artifactory-vault GitHub Wiki

Ensure that the zCX instance that Artifactory and PostgreSQL runs on has enough RAM

In order to run one Artifactory container and one PostgreSQL container, it is suggested that you allocate at least 3 GB of RAM for these containers on the zCX instance that they run on. The RAM usage of Artifactory and PostgreSQL together may fluctuate between 1.5 GB and 2.5 GB. RAM usage could become greater than 2.5 GB, so allocating at least 3 GB of memory ensures that Artifactory and PostgreSQL have at least 500 MB of RAM to grow.

 

Ensure That Enough Storage has Been Allocated to the zCX appliance that Artifactory and PostgreSQL runs on

The amount of storage that you need to allocate to your zCX appliance is highly dependent on how much you expect to be stored in Artifactory. However, in order to setup a fresh installation of Artifactory, you will need at least 1.5 GB of storage. You will almost certainly need more than 1.5 GB of storage in the file store in production, but in order to get Artifactory and PostgreSQL initialized, this is technically enough. A fresh installation of Artifactory and PostgreSQL together will take up about 1.2 GB of storage on your zCX appliance.

 

Artifactory's Dynamic RAM Usage

JFrog Artifactory works great as a binary repository, but Artifactory uses a lot of RAM. If a zCX appliance has low RAM usage overall, Artifactory can use up to 2.5 GB of RAM. That is a lot especially considering the fact that an Artifactory container's corresponding PostgreSQL database container only uses about a dozen or so Megabytes. However, keep in mind that Artifactory will dynamically adjust it's RAM usage according to how much RAM is available on the zCX appliance. For example, an Artifactory container running on a zCX appliance that has high overall RAM usage may only use a little bit over 1 GB.