Other AMP Configuration Options
Memory Usage
The amount of memory required by Cloudsoft AMP process depends on the usage - for example the number of entities/VMs under management.
For a standard AMP deployment, the defaults are to start with 256m, and to grow to 2g of memory. These numbers can be overridden
by setting the JAVA_MAX_MEM
and JAVA_MAX_PERM_MEM
in the bin/setenv
script:
export JAVA_MAX_MEM="2G"
AMP stores a task history in-memory using soft references. This means that, once the task history is large, AMP will continually use the maximum allocated memory. It will only expunge tasks from memory when this space is required for other objects within the AMP process.
Karaf Authentication
AMP uses Apache Karaf as a core platform, this has user level security and groups which can be configured as detailed here. These apply only to logging in via the karaf CLI console.
Bundle Resolution
By default, AMP will not resolve bundles from outside sources. This means that even if a bundle is referenced via a
mvn:
URI, AMP will look only into its default repository (system
folder within AMP Home).
However, this behaviour can be changed by editing the org.ops4j.pax.url.mvn.cfg
file.
For more information, please refer to the OSGi documentation.