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
Magazine
www.devmedia.com.br
www.nhibernatebrasil.net
http://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.

Reply via email to