[MemProfile] Finish the entire pipeline