Well, the issue compounds itself when our clients run our application published in Citrix. Then we quickly get to 10 - 20 users and possibly 50 to 100 applications running from one server. Then we end up using a ton of memory at 150 megs per app. I would like to dynamically load domain objects at run-time, but I don't think this is possible with NHibernate. Is it? I may have to look at EF4 or some other solution that uses less memory. Any other suggestions?
Thanks, Kyle On May 16, 9:25 am, Paulo Quicoli <[email protected]> wrote: > Just a suggestion.... think about how much Firefox our Chrome browser > consumes... just for illustration, right now my Firefox (with only one > page opened) is consuming 141MB.. > > I dont think 150MB is so high for a 400 entities domain.... > > Nowadays, memory is cheap and new machines are coming up in a 3, 4 Gb RAM > systems, and I'm talking about Brazil.... (wich is always one step > before).... > > 2011/5/16 Kyle <[email protected]> > > > > > > > > > > > We have just started to convert to NHibernate for our data access > > layer. Our legacy database has roughly 400 tables with on average 125 > > columns per table. Almost all tables have a composite key. Our > > application is broken up into hundreds of smaller applications that > > each have their own memory space. A normal user would use roughly 3-5 > > applications at once time, and each application may access 15 - 20 > > tables in a single session. > > > So, here's my problem... Loading all the hbm.xml mapping files and > > 400 domain objects during the BuildSessionFactory() call consumes > > roughly 150 MB of memory per application before any data access > > occurs. What can we do to lower the memory consumption? I'm pretty > > new to NHibernate, so any advice would help. > > > Thanks, > > Kyle > > > -- > > 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. > > -- > Paulo Quicoli > Editor Técnico: .NET Magazine, ClubeDelphi Magazine; Editor: WebMobile > Magazinewww.devmedia.com.brwww.nhibernatebrasil.nethttp://pauloquicoli.spaces.live.com > twitter:@pauloquicoli -- 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.
