Re: Winforms and memory usage



Hi,
Just a thought when profiling, allow sufficient time for the full
behaviour to be shown.
I went chasing a 'memory leak' where the Private bytes and Working Set
usage went up for several hours for no good reason I could see.
They finally levelled out then came down again. Then went up again
etc.
Took a couple of days of this wobbling behaviour before I accepted
that there was no leak.
Bob


On Fri, 12 Oct 2007 14:21:34 -0700, "Chris Mullins [MVP - C#]"
<cmullins@xxxxxxxxx> wrote:

Having spent far, far too much time at this, I would recommend two products
over SOS:

- SciTech Memory Profiler is excellent. They have a 14 day free trial.
- RedGate ANTS Memory Profiler is also excellent. They also have a trial.

When I do seminars or mentoring on this, I always start with these products,
and only revert to Son of Strike and WinDbg as a very last resort. The
learning curve on SOS is brutal, and most devs won't ever get through it.

The learning curve for SciTech is about a day, and it's extremely powerfull.
Amazingly so.

The learning curve for ANTS is a few hours, but it's nowhere near as
powerfull as SciTech.
.



Relevant Pages

  • Re: Need help on memory usage VS PF usage
    ... is called "virtual memory". ... "memory usage" is the actual RAM the process is using. ... As for the memory leak itself, your best chance at finding it is ... by using something called a "profiler". ...
    (comp.lang.java.programmer)
  • Re: [PATCH -mm 1/5] Blackfin: blackfin architecture patch update
    ... the workload really doesn't matter. ... And that is the problem - the kernel doesn't know how much on chip ... memory an application which will be loaded in the future might need. ... Obviously you expect them to be sitting there with a profiler open ...
    (Linux-Kernel)
  • Re: performance in a citrix environment
    ... The .Net memory profiler is a very useful tool for working out if you have ... Open a form in the app and do some work, ... I plan to use the .NET Memory Profiler ...
    (microsoft.public.dotnet.framework.performance)
  • [NT] Services for UNIX 2.0 Suffer from a Remotely Triggered Memory Leak
    ... Services for UNIX 2.0 Suffer from a Remotely Triggered Memory Leak ... 2000 are not affected by the vulnerability. ... * A vulnerability that could enable an attacker to cause the NFS service ...
    (Securiteam)
  • RE: Memory growth halts with use of Profiler - bug in .NET service
    ... "Warren Sirota" wrote: ... I could still use a good pointer to a tutorial on debugging memory ... unless I attach a debugger to it. ... This is basically the manual version of what CLRProfiler does; ...
    (microsoft.public.dotnet.framework.performance)