Found one more memory-hogging issue in Solution's computeResiduals().