Please excuse me for sending this again, but the last one descended into
comments on my test code rather than the issue - which is that there's an
unmanaged memory leak somewhere in nhibernate, and I'd like to find it as
it's costing me a lot of memory
So far:
- a simple 1 page web app uses about 40-50MB more when nhibernate is
introduce. Around 30MB in unmanaged memory, and about 20-30 in "Unused
memory allocated to .NET" which indicates memory fragmentation.
- Entity objects are being held in memory (second level caching is off)
- this is not because of bad code or not closing sessions. The example
I've written couldn't be simpler so there's little to no chance of coder
error.
- A lot of the objects are "IUserType" classes (don't know if this is
relevant)
- A number of objects are only being held on to by "System.Object[]" -
which is being held by something in unmanaged memory (this is what I can
gather) meaning there's a memory leak in something unmanaged that nhibernate
has introduced.
Someone must know what's going on surely?
Paul
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/nhusers?hl=en.