Decrease puppetdb memory usage