Skip to content
This repository has been archived by the owner on Jan 31, 2025. It is now read-only.

Memory leaks when running MailSim with Client SDK provider #34

Open
v-am opened this issue Sep 16, 2015 · 0 comments
Open

Memory leaks when running MailSim with Client SDK provider #34

v-am opened this issue Sep 16, 2015 · 0 comments
Assignees

Comments

@v-am
Copy link
Contributor

v-am commented Sep 16, 2015

When you run MailSim with Client SDK provider for O365, the memory used by the app (as observed in Task Manager or Resource Monitor) continuously grows. Eventually, MailSim fails with "Out Of Memory" exception.

It seems that initially memory grows pretty fast, but then the growth gradually becomes slower.

In contrast, with Http provider, the memory remains about the same even after more than 24 hours run.

It appears that most of memory increase is related to queries for mail items; by default, MailSim would get 500 items for those operations that require random mail selection.

The only suspicious thing I noticed when trying to use Visual Studio memory profiler, is that SDK Message object (the one that represents mail items) has circular reference to itself.

@v-am v-am self-assigned this Sep 16, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant