The point is that your app, with 100 threads, SHOULD be consuming 100+ megs
of memory. This is correct, and not a problem.
If the .Net 1.1 app reported less, then it was either 1) A bug somewhere in
the memory reporting, or 2) You're looking at the wrong counters.
You could try the "resize the working set" trick if you want:
http://www.coversant.net/Coversant/B...4/Default.aspx
It won't actually change anything, but the numbers being reported in Task
Manager will change.
--
Chris Mullins, MCSD.NET, MCPD:Enterprise, Microsoft C# MVP
http://www.coversant.com/blogs/cmullins
"Joe K" <joe (AT) nospamplease (DOT) com> wrote
Quote:
Create 10, 20 or 100 threads in your test, and the result will still be
the
same: thread memory is not counted in private bytes in 1.1, but is in 2.0.
I'm just wondering why? Not sure I understand the fixation on the # of
threads - that has nothing to do with my question.
Joe |