[Mono-list] Profiling web app to find where memory is going

Joshua Tauberer tauberer at for.net
Tue Jan 3 14:25:14 EST 2006


Hey,

I need some advice about figuring out why my ASP.NET site is sucking up 
hundreds of megabytes of memory after a few hours/days (under a good 
amount of traffic).  If I'm allocating the memory myself, I can't find 
where.  I use IHttpHandlers exclusively to serve pages, so the problem 
is at least not in ASP.NET controls or anything in that area.

I tried heap-buddy just now, but when I run it around xsp I get:

** (/usr/lib/xsp/1.0/xsp.exe:26769): WARNING **: implement me 0x00

** ERROR **: file class.c: line 3023 (mono_class_from_mono_type): should 
not be reached

So... that didn't work.

The default profiler (--profile=default:alloc) yields just:
   Total memory allocated: 0 KB

I'm not sure if it was supposed to be more informative than that. :)

Does anyone have any suggestions for me?

-- 
- Joshua Tauberer

http://taubz.for.net

** Nothing Unreal Exists **




More information about the Mono-list mailing list