[CSHARP-1769] Memory leak investigation help Created: 15/Sep/16 Updated: 05/Apr/19 Resolved: 16/Sep/16 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | API, Serialization |
| Affects Version/s: | 2.2.4 |
| Fix Version/s: | None |
| Type: | Task | Priority: | Critical - P2 |
| Reporter: | Hari Pulugurta | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | question | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Description |
|
We are running mongo version 3.0.7 on Amazon Linux AMI. We have a background windows service running on Windows server 2012 that is connecting to mongodb using c# driver+legacy driver v 2.2.4. We have several cron jobs that the windows background service runs. Some jobs run at every 5 minutes, some every 30 sec. The background windows service is a long running service. What we are noticing is gradually the background windows service memory keeps increasing and we have to restart the service at some point before it hits the max memory on machine. We used dotMemory to profile the server and this is what we found was and when we navigate to the first object
we are seeing this: Look at that it looks related to the Conventions. We are still investigating on our end but wanted to post it and see if any one is finding similar issue. Each of the job runs by opening a connection to MongoDB via
Any help is really appreciated. Thanks |
| Comments |
| Comment by Robert Stam [ 16/Sep/16 ] |
|
Thanks for letting us know you found the problem. |
| Comment by Hari Pulugurta [ 15/Sep/16 ] |
|
Issue Resolved: The issue turns out to be an coding issue in our code base |
| Comment by Hari Pulugurta [ 15/Sep/16 ] |
|
Correction: |