Commit 6f446285 authored by Matt Dannenberg's avatar Matt Dannenberg Committed by Ben Abrams
Browse files

add max_memory attribute to allow configuration of the memory consumption of the collector

parent e71fc4be
......@@ -56,6 +56,8 @@ default['sumologic']['json_template'] = nil
# template name from a custom sumo.conf configuration cookbook.
default['sumologic']['conf_template'] = nil
default['sumologic']['max_memory'] = 128
default['sumologic']['use_proxy'] = false
default['sumologic']['proxy'] = {
'host' => nil,
......
......@@ -71,7 +71,7 @@ wrapper.java.additional.2=-server
wrapper.java.initmemory=64
# Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=128
wrapper.java.maxmemory=<%= node['sumologic']['max_memory'] %>
# Proxy server configuration
wrapper.java.additional.1=-XX:+UseParallelGC
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment