When I used ‘ExtractAttachments’ to parse attachments in a PST file, memory was not released. It appears that Dispose() method does not take effect.
SharedPtr<PersonalStorage> pst = PersonalStorage::FromFile(pstFile, …...used ‘ExtractAttachments’ to parse attachments in a PST file, memory...ExtractAttachments method to parse attachments from a PST file...