Profiler shows leaks on one machine but not another

Memory profiling for .NET developers

Moderators: StephenC, Alex.Davies, AndrewH, melvyn.harbour

Profiler shows leaks on one machine but not another

Postby LoopM » Fri Jan 29, 2010 10:10 pm

My coworker's machine shows no memory leaks for a given test case, whereas my machine shows leaks. He's tried running my exe on his machine...no leaks. I've tried running his exe on my machine...leaks. So that rules out different source code. We're both running version 5.1.0.15 of the profiler. We're both following the same steps (we've even tried "driving" at the other's machine.) Any ideas on what could be causing this? I also tried commenting out all of the useless finalizers in the code in case it was a non-deterministic cleanup scenario, but the results were the same.
LoopM
 
Posts: 3
Joined: Fri Jan 29, 2010 10:00 pm

Postby Chris.Allen » Mon Feb 01, 2010 3:27 pm

That is, like, so totally freaked up man. :@) Could you please save the results for each session and send them over to support@red-gate.com

We have some really freaky guys over here who will probably understand the problem :))
Chris.Allen
 
Posts: 594
Joined: Thu Mar 12, 2009 4:17 pm

Postby Chris.Allen » Mon Feb 01, 2010 3:29 pm

Oooh- one thing- since .Net Frameworks are (mostly) backwards-compatible, I wondered if could you be running the same assembly on different framework versions?
Chris.Allen
 
Posts: 594
Joined: Thu Mar 12, 2009 4:17 pm

Postby LoopM » Tue Feb 02, 2010 9:33 pm

We got it figured out. The details contained in the memory profile eventually led us to find this WPF hotfix from Microsoft:

http://support.microsoft.com/kb/967328

which apparently had already been installed in some form or another on my colleague's machine. He had not explicitly installed this particular hotfix, but he may have installed other hot fixes. (Not sure how that works really. Are hotfixes cumulative? Oh well.) After installing the hotfix on my machine, the leaks are no longer being reported.

Thanks!
LoopM
 
Posts: 3
Joined: Fri Jan 29, 2010 10:00 pm


Return to ANTS Memory Profiler Previous Versions

Who is online

Users browsing this forum: No registered users and 1 guest