|
Hi,
I'm using NHibernate 1.0.2.0. Over prolonged periods of heavy use I see a large memory usage from NHibernate. I've tracked it down to SessionFactoryImpl.cs.
The compiled querys and filters are stored in the softQueryCache but they never appear to be scavenged. I've tested it by replacing the softQueryCache with the System.Web.Cache and set an expiration policy and the problem dissapears.
Anyone got any idea why the softQueryCache isn't scavenged to prevent excessive memory usage over time? If not, i'll submit a JIRA issue or patch.
Thanks,
Al Priest
|