configurable memory limit