Showing results for maoniposts - .NET Blog

Oct 23, 2006
0
0

New MSDN Article – Investigating Memory Issues

maoni
maoni

We have a new MSDN article out in the November issue that talks about investigating managed memory issues. http://msdn.microsoft.com/msdnmag/issues/06/11/CLRInsideOut/default.aspx?loc=en Take a look and let me know what you think. Oh, and it's also in 6 other languages (German, Spanish, French, Russian, Portuguese and Chinese) for ...

.NET
Sep 28, 2006
0
0

My application seems to hang. What do I do? – Part 1

maoni
maoni

Defining “hang” is a good place to start.   When people say “hang” they could mean all sorts of things. When I say “hang” I mean the process is not making progress – the threads in the process are either blocked (eg. deadlocked, or not scheduled because of threads from other processes) or executing code (madly) but not doing ...

.NET
Sep 1, 2006
0
0

Understand the problem before you try to find a solution

maoni
maoni

So far I’ve never written a blog entry that gives out philosophical advices on doing performance work. But lately I thought perhaps it’s time to write such an entry because I’ve seen enough people who looked really hard at some performance counters (often not correct ones) or some other data and asked tons of questions such as “is this ...

.NET
Aug 18, 2006
0
0

I Am a Happy Janitor – Part 1: Finding garbage

maoni
maoni

Indeed what I do is very much like the job of the janitors – like the ones who clean your building, or janitors you see at a food court, or yourself when you are taking care of garbage at your house. Doubtful you say? Let me prove it to you. Finding garbage What do you do when you are having lunch with your friends at a food court and ...

.NET
Jun 7, 2006
0
2

Suspending and resuming threads for GC

maoni
maoni

First of all, suspension and resumption of threads is not really part of the GC. GC calls functions to do the suspension and the resumption as a service provided in the CLR. Other components in the CLR also use this service such as the debugger implementation. But it’s true that suspending and resuming because of the GC is the most significant ...

.NET
Jun 6, 2006
0
1

When memory is running low…

maoni
maoni

When I say memory I mean physical memory. Let’s assume that you have enough virtual memory space. When the physical memory gets low you may start getting OOMs or start paging. You can experiment and see how you can avoid getting into the low memory situation but sometimes it’s hard to predict and hard to test all scenarios your app can get into...

.NET
Apr 19, 2006
0
0

Large Object Heap

maoni
maoni

LOH (Large Object Heap) contains objects that are 85,000 bytes or bigger (there’s also some objects that are less than 85,000 bytes that are allocated on the LOH by the runtime itself but usually they are very small and we’ll ignore them for this discussion).   The way LOH is implemented changed dramatically from 1.0 to 1.1. In 1.0 we ...

.NET
Mar 1, 2006
0
0

Workstation GC for server applications?

maoni
maoni

In Using GC Efficiently – Part 2 I talked about different flavors of GC that exist in the CLR and how you choose which flavor is good for your applications, and I said that the Server GC flavor is designed for server applications. As with any performance tuning there are always exceptions – there’s no one-rule-fits-all. Recently I worked with...

.NET
Feb 28, 2006
0
0

Thank you all for your comments!

maoni
maoni

I will write about the things you asked in my last blog entry's comments in the next few blog entries...

.NET
Jan 9, 2006
0
0

What do you want to know?

maoni
maoni

In my previous Using GC Efficiently entries I've basically covered all the big areas of GC in the CLR. There are of course a lot of things to write about GC but I want to keep GC users as my target audience, not GC designers/implementors. So I would really like to hear from you - our customers of the .NET Framework - if you have specific ...

.NET

Feedback