moved memory limit stuff to base; limit error handling