configure memory limits