OutOfMemoryException - out of ideas

Posted by Captain Comic on Stack Overflow See other posts from Stack Overflow or by Captain Comic
Published on 2010-03-24T12:15:50Z Indexed on 2010/03/24 12:23 UTC
Read the original article Hit count: 469

Hi

I have a net Windows service that is constantly throwing OutOfMemoryException. The service has two builds for x86 and x64 Windows. However on x64 it consumes a lot more memory. I have tried profiling it with various memory profilers. But I cannot get a clue what the problem is. The diagnosis - service consumes lot of VMSize.

Also I tried to look at performance counters (perfmon.exe). What I can see is that heap size is growing and %GC time is 19%.

My application has threads and locking objects, DB connections and WCF interface.

See first app in list http://s45.radikal.ru/i109/1003/af/92a389d189e8.jpg

The link to picture with performance counters view http://s006.radikal.ru/i215/1003/0b/ddb3d6c80809.jpg

© Stack Overflow or respective owner

Related posts about outofmemoryexception

Related posts about .NET