Configurable ES memory limit