Hi, I'm investigating the memory consumption on our Nhibernate based application. It is a batch job that processess a fair amount of data, and clearing the session between transactions and it seems to be working fine apart from one thing, namely the resources being held by StatefulPersistenceContext. I have looked into the code and the SessionImpl.Clear calls the StatefulPersistenceContext.Clear which basically clears up all its internal datastructures except for the "nullAssociations" HashSet. I don't know why this is not cleared in the StatefulPersistenceContext.Clear method. Is it an intended behaviour or just missed out. We have objects that are mapped one-to-one and unfortunately a lot of null associations which fills up the StatefulPersistenceContext.nullAssociations HashSet (we have inherited a legacy database so we are kind of stuck with the mapping unfortunately)
Rgs, Robert -- 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.
