RAM per JRuby
The puppetserver_ram_per_jruby setting determines how
much RAM is allocated to each JRuby instance in Puppet Server.
You might need to change this setting if you have complex Hiera code, many environments or modules, or large reports.
If your PuppetDB service runs on a compiler,
this is a good starting point for tuning your infrastructure, because this value is
factored into several other parameters, including JRuby max active instances and Java heap allocation on compilers running PuppetDB.
Console node group
PE Master
Parameter
puppet_enterprise::puppetserver_ram_per_jruby
Default value
512 MB
Accepted values
An integer representing a number of MB
How to calculate
You can usually achieve good performance by allocating around 2 GB per JRuby.
If 2 GB is inadequate, it might help to Change the environment_timeout setting.






