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

Bill Seddon bill.seddon at lyquidity.com
Tue Jan 3 16:10:02 EST 2006

Does your application save data in variables of the application class
that are not explicitly released?  How do you have your cache
configured?  If you have your cache configured to hold pages for a long
time you they would mount up over time.

Bill Seddon

-----Original Message-----
From: mono-list-bounces at lists.ximian.com
[mailto:mono-list-bounces at lists.ximian.com] On Behalf Of Joshua Tauberer
Sent: 03 January 2006 19:25
To: Mono
Subject: [Mono-list] Profiling web app to find where memory is going


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


** Nothing Unreal Exists **

Mono-list maillist  -  Mono-list at lists.ximian.com

More information about the Mono-list mailing list