Java heap
The java_args
settings specify heap
size, which is the amount of memory that each Java process can request from the
operating system. You can specify a heap size for each PE
service that uses Java, including Puppet Server, PuppetDB, the console, and the orchestrator
Heap size is declared as a JSON hash containing a maximum (Xmx
) and minimum (Xms
) value. Usually, the
maximum and minimum are the same so that the heap size is fixed, for
example:
{ 'Xmx' => '2048m', 'Xms' => '2048m' }
Console node group: PE Master or PE Compiler
Parameter: puppet_enterprise::profile::master::java_args
puppet_enterprise::master::java_args
and puppet_enterprise::master::puppetserver::java_args
are the
same, because profile::master
filters down
to master
, which filters down to master::puppetserver
.Default value: 2 GB
Console node group: If the PuppetDB service runs on compilers, set this parameter on the PE Compiler node group. Otherwise, set this parameter on the PE PuppetDB node group.
Parameter: puppet_enterprise::profile::puppetdb
Default value: 256 MB
Console node group: PE Console
Parameter: puppet_enterprise::profile::console
Default value: 256 MB
Console node group: PE Orchestrator
Parameter: puppet_enterprise::profile::orchestrator
Default value: 704 MB