I'm working on .Net project (windows service) and I found memory leak. Using ANTS Memory profiler, I've determined - root cause is in unmanaged memory scope. But I don't use any COM/COM+ or p/invoke - pure .Net (DataAcces - Fluent nHibernate, Automapper, WCF)..
Hypothetically, what can be reason? How can I find bottleneck.. I'm interested in any kind of experience, who've faced and solved such kind of isseus
A bit more details:
- I know how objects are disposing (and do it right)
- I (almost) don't use events
- I'm using timers
- I'm using multithreading (but it's rather parallelism)
- My application is not stateless - I'm tracking objects during their life-cycle