[Mono-dev] Help with heap profilers

2010-10-21 Thread Bassam Tabbara
I suspect I'm seeing a low grade leak with ASP.NET, and I'm having a hard time 
getting any of the heap profilers to run correctly. Which is the recommended 
heap profiler? I assume it's the logging profiler. I run it with the following 
options:

--profile=logging:gc,as,output=/mnt/profile/frontend.$$.mprofile

And it seems to hang my process frequently both while running and during 
shutdown. Also even when it does not hang, I'm unable to get mprof-decoder to 
parse its output, I see the following exception quite frequently:

Unhandled Exception: System.OverflowException: Number overflow.
  at Mono.Profiler.BlockData.DecodeHeaderBlockCounterDelta (System.Byte[] 
header) [0x0] in :0
  at Mono.Profiler.SyncLogFileReader.ReadBlock () [0x0] in :0
  at Mono.Profiler.ConsoleDecoder.Main (System.String[] argv) [0x0] in 
:0

Any help would be appreciated. I'm using mono built from mono-2-6 branch.

Thanks!
Bassam
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Help with heap profilers

2010-10-23 Thread Bassam Tabbara
Any help with this would be appreciated? What tools are folks using to find 
leaks / fragmentation issues on mono?

From: mono-devel-list-boun...@lists.ximian.com 
[mailto:mono-devel-list-boun...@lists.ximian.com] On Behalf Of Bassam Tabbara
Sent: Thursday, October 21, 2010 11:20 PM
To: mono-devel-list@lists.ximian.com
Subject: [Mono-dev] Help with heap profilers

I suspect I'm seeing a low grade leak with ASP.NET, and I'm having a hard time 
getting any of the heap profilers to run correctly. Which is the recommended 
heap profiler? I assume it's the logging profiler. I run it with the following 
options:

--profile=logging:gc,as,output=/mnt/profile/frontend.$$.mprofile

And it seems to hang my process frequently both while running and during 
shutdown. Also even when it does not hang, I'm unable to get mprof-decoder to 
parse its output, I see the following exception quite frequently:

Unhandled Exception: System.OverflowException: Number overflow.
  at Mono.Profiler.BlockData.DecodeHeaderBlockCounterDelta (System.Byte[] 
header) [0x0] in :0
  at Mono.Profiler.SyncLogFileReader.ReadBlock () [0x0] in :0
  at Mono.Profiler.ConsoleDecoder.Main (System.String[] argv) [0x0] in 
:0

Any help would be appreciated. I'm using mono built from mono-2-6 branch.

Thanks!
Bassam
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list