Hello, I'm using a Utils.cs file with a static SessionFactory object, every time I use a session from this factory I close the session. I thought that this would release all the memory affected to that session, but in final my memory grows until a System.InsufficientMemoryException rise.
I have tried the most simple tricks, like make a session.Clean(), Evict of all objects, etc. But the only think that seems to work is to put the SessionFactory as a instance variable and make a SessionFactory.close() after every sessio.close(). Although this is not a definitive solution because it takes 5 sec to open a Sessionfactory. If someone could help I would appreciate! Thank you, Bruno --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
