Have you tried profiling your application, specifically, trying to find 
what parts of the session factory are taking all that memory?
It really doesn't seem normal to me...

RP

On Thursday, April 10, 2014 3:13:05 PM UTC+1, Gustavo Rocha wrote:
>
> i dont agree that think about memory price solve the problem.
>
> Of course it is cheap. 
> But the fact is that NH i using much more memory actually than other 
> versions. Is just BuildSessionFactory.
>
>
> Take attention on my problem:
>
> I use FluentNH, about 400 entities, use Envers for auditory and have a 
> multi tenancy application. One session factory per host.
> Each session factory consumes about 150mb.
> We have comercial plans to get hundreds of clients.
>
> Since I have hoirzontal or vertical scalabilty on hardware thats a LOT of 
> memory.
>
> I think everyone agree that I must have a singleton ready sessionfactory 
> per client, right?!
>
> I tried to put these sf´s in a standalone service who configure all and 
> serve my webapps. But still... a LOT o memory. In the service and in the 
> apps
>
> I am trying everything to solve this without leaving my requirements.
>
>
>
> Em quarta-feira, 18 de maio de 2011 17h49min42s UTC-3, Fabio Maulo 
> escreveu:
>>
>> which is the cost of 2GB DDR3 1333Mhz in your country ?
>> How many hours you are spending to solve this ""problem"" ?
>> Which is the price of each of your hours ?
>>
>> Perhaps would be better if you talk with your boss.
>>
>

-- 
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.

Reply via email to