Ensure max memory allocation is same for 3.0 and 4.0 for test runs