Test memory limit