I did a simple test on my laptop with about 30 hbm.xml file,

for(int i=0; i<500; i++)
{
    create a sessionFactory;
    GC.Collect();
    Thread.Sleep(1000);
}

Then look at the "Windows Task Manager", see how much memory has been
used.
It's about 1.5+M/SessionFactory.

Anyone know how to profile it in a programatic way?

On Jul 12, 11:39 am, Anbu <[email protected]> wrote:
> Hi All,
>
> want to know what is the impact of having multiple session factory
> configured for a single database??how much memory will a single
> sessionfactory will occupy?will it cause OutOfMemory ???
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to