Allocation of huge typed arrays factored out into a separate test.