[Mono-list] Profiling web app to find where memory is going
tauberer at for.net
Sun Jan 8 20:49:20 EST 2006
Michal Moskal wrote:
>> Thanks. I'm adapting it to get more information out of it, and I think
>> I have to make it thread-aware to use it reasonably in a multithreaded
>> app like ASP.NET?
> Yes. Multithreading was not my concern (I used it for profiling the
> Nemerle compiler, and recently for a theorem prover).
> Of course feel free to use and modify it.
Great. It's really helpful.
I can see now that a single page load is resulting in the creation of
100,000 new string instances. Seems like a lot, but maybe it's just par
for the course. So now I have a new problem: I can see tons of strings
are being allocated by I18N.Common.ByteEncoding:GetString() and
MySql.Data.MySqlClient.MySqlDataReader:GetOrdinal(), but I don't know if
they're not being deallocated promptly, and I can't imagine tracing
through the code to see if the strings are hanging around unnecessarily
either within MySql.Data or higher up.
So, if anyone has any suggestions....
- Joshua Tauberer
** Nothing Unreal Exists **
More information about the Mono-list