Removed permgensweeping and double RAM allocations.