release resource's memory unit fixed