Hi. Here's my StackOverflow post at http://stackoverflow.com/questions/27276129/fluent-nhibernate-memory-leak-with-heap-dump-attached .
For a project of mine, I'm creating a folded Expression statement that can contain on the order of 10000 individual where clauses (so that I can minimize the number of calls to the database). NHibernate Linq works, but the large expression trees are being cached in queryPlanCache of the session factory (which I've verified in Debugging). I need to be able to clear the queryPlanCache or prevent it from growing. I'm using IStatelessSessions throughout my code so I can handle large datasets. Here's the heap dump using CLRProfiler at https://app.box.com/s/pvbe9ryfb0v168rka2e3. Is there a way to prevent the queryPlanCache from being used? -- You received this message because you are subscribed to the Google Groups "nhusers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/nhusers. For more options, visit https://groups.google.com/d/optout.
