I'm attempting to use NHibernate.ProxyGenerator (NHPG) against our entities and am experiencing an OutOfMemoryException. We have just over 300 tables/entities and roughly 9300 columns spread across those tables/entities. We also have many lazy associations between tables (basically both a one-to-many and a many-to-one for every foreign key in the database). When I kick off NHPG.exe, it runs for quite a while (over an hour) before it crashes.
Anyone ever use NHPG for something of this magnitude? Is there any way to get this to complete in a timely fashion (as we'd have to rerun the process whenever making an entity change)? A little background: we're looking into NHPG to see if it speeds up the initialization time of NHibernate, as we see it take several seconds just to generate the proxies. If anyone has a comment to whether or not NHPG is even worth using for performance reasons, that would be great. Note that we don't experience the Medium Trust issue it is originally built to circumvent. Thanks, Ross --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "NHibernate Contrib - Development Group" 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.ar/group/nhcdevs?hl=en -~----------~----~----~----~------~----~------~--~---
