Put Java maxmemory settings into property.