collect memery usage when installation error