Try to be smart about not creating unnecessary copies of arrays since we know we are hitting memory pressure.