Add java_maxmemory config by default