News

I believe that line dereferences the array reference and creates a new array with the same 10,000 contents. With your recursive calls to quicksort, that probably eats up memory fast.