Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Test for memory leaks in .NET applications

Are there any good(and free) tools for either analyzing static source or running programs to help detect memory leaks?

I've built some windows services and want to make sure the are not going to consume memory if I leave them running for weeks on end.

like image 486
BoxOfNotGoodery Avatar asked Jul 17 '09 12:07

BoxOfNotGoodery


3 Answers

Doesn't meet your requirements of being free, but there's one by Red Gate I think is worth suggesting - ANTS Memory Profiler

I've used a number of their tools before (some on trial, some we've bought) and found them to be very good.

like image 156
AdaTheDev Avatar answered Sep 30 '22 20:09

AdaTheDev


I can recommend http://memprofiler.com/, but it is not free.

like image 26
Lars Truijens Avatar answered Sep 30 '22 19:09

Lars Truijens


Redgate Ants Performance Profiler might help. It isn't free... but there is a 14 day trial which may be enough to get your services working.

like image 40
NikolaiDante Avatar answered Sep 30 '22 19:09

NikolaiDante