set a heap limitation