Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Add-ins for Outlook (http://www.outlookbanter.com/add-ins-outlook/)
-   -   How attachments and inspectors work together (http://www.outlookbanter.com/add-ins-outlook/39459-how-attachments-inspectors-work-together.html)

LSM January 31st 07 08:57 PM

How attachments and inspectors work together
 
Hello,

In my program, I am trying to determine the cause of a memory leak with
opening and closing inspector windows with attachments (may be my addin or
another addin).. But my question is towards what happens behind the scene
with insepctor windows and attachments:

Once the email is opened, i am under the impression that a reference to the
attachment is obtained , and the entire attachment IS NOT loaded into memory
(since attachments can be quite large)...

Once the inspector window closes, the reference to the attachments and any
memory associated with the attachment should be cleaned up, correct?

For some reason, as my add-in continues to iterate email, open and close
inspectors, memory grows only for emails with attachments.

Any references available for what really happens behind the scnenes, or at
least what should be happening ?



All times are GMT +1. The time now is 05:32 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com