2009/6/29 Mind Works <ani...@gmail.com>:
>
> Hi,
>
> Background:
> We have 1600 objects to be loaded in the session factory, thus
> impacting the memory footprint of the application. In the endeavor to
> reduce the memory footprint we are loading the objects dynamically
> where we are destroying the existing session factory and recreating
> one every time.

Why does your ISession need to outlive the session factory? Why not
recreate it as well? The ISession should normally be fairly shortlived
anyway.

/Oskar

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to nhusers@googlegroups.com
To unsubscribe from this group, send email to 
nhusers+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to