Hi Fabio Thanx for the reply and I think I didnt draft my mail correctly I took 7MB as a good sample for one of the assemblies which are bigger in size. My entire bloat of application is of 100MB . Now this 100 MB is up and above the 130 MB it was before . So now my total footprint is 250MB . This would still be ok on a desktop but when I place my application on citrix server where multiple users would connect I would start facing serious scalability issues. So this is my scenario
Before NH ----130MB After NH --- 230 MB this 100MB I am attributing right now to single sessionfactory. Next you have asked me about the advantage of multiple session factories . This is to definitely to bring down the memory contention. So now would be ok to do multiple session factories in NH 1.2.1? Also Can I serialize my configuration object if yes how since its giving me exception while binary serializing it. DO i need to make any changes in NH code for this. Thanks Ashish K On May 1, 6:18 pm, Fabio Maulo <[email protected]> wrote: > 2009/5/1 codegoblin <[email protected]> > > > 1 does NHibernate bloat of file 800KB on disk bloat to approx 7 MB in > > memory normal? > > The size is variable but in general, yes it is. > > > > > 2. Whats holding the objects in Gen2 > > 3. Can there be any way we can bring down build session factory size? > > No. If you want work with lazy-loading. > > > 4. Is there a smart algo to do multiple buildsessionfactories for > > smaller set of assemblies? > > Advantage ? > > Now... > You are talking about a rich-client app. and you are worry about 7MB, right > ? > Without talk about the price of RAM today, this is the situation after > turn-on my PC: > chrome.exe 48MB > chrome.exe 43MB > TSVNCache.exe 34MB > cvchost.exe 31MB > soffice.bin 16MB > googletalk.exe 12MB > > What you are worrying about ? your app is the smaller one. > > -- > Fabio Maulo --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
