Hi all!
We're getting an OutOfMemory exception in our NHibernate asp.net application after a period of time. We're using the session-per-request-pattern (drawing from McCafferty's examples), but logging shows us that each session gets closed after use.
We're running:
NHibernate 2.0.0.4000, with hbm-file-mapping
Windows Server 2000
SQL Server 2000
This happens even on a test server, that's hit only by a bot doing automated requests every 10 minutes (logging in, and accessing main page). Enough to initiate an NHibernate session, but only doing one simple query validating the user credentials.
Memory debugging apparently shows that there still are some kind of NHibernate objects in memory.
The problem doesn't appear on dev machines (using XP Pro).
Any ideas what it could be? Could it even be anything else than that sessions don't close even though we believe they do? Some strange bi-directional mapping thing?
Thanks in advance!
/Magnus
|