Fix a GC problem with the allocation of the result vector of ##process-statistics