How attachments and inspectors work together

L

LSM

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 ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top