Memory footprint of a weak set

Did you try with Pool.clear ?