reduce max memory to 256 for es