c# - How to solve Memory leakage in windows multiple threading application -
actually working on real-time application multiple threads.
while running application memory 65 mb , if open child mdi form memory increases 85mb if close child window memory still remains @ 85mb.
i have used dispose , i've tried gc.collect(), none of these solve problems, little bit confused regarding issue.
can please guide me regarding this?
thanks in advance.
you need memory profiler.
there bunch of options:
- redgates's ants memory profiler
- scitech's .net memory profiler
- clr profiler (pre .net 4.0)
- and more.
many cost money (except clr profiler) have trial versions.
after start app (with profiler attached), need take snapshots of memory before leak , after , compare them see staying around.
it's hard problem might in case, since there many things causing problem.
Comments
Post a Comment