changed memory consumption from COM heap to process heap