Hi all,
I'm working on a project where we need to access a pre-existing (complex) DB schema, which consists of about 3000 tables, with a huge number of foreign keys (I've also found circular referential constraints).
I needed to set the vm option -XX:PermSize=256m to be able to load the Configuration, and at the end (the application start), the heap size used by the jboss (4.0.2) VM was about 700MB.
Is there any way to reduce the Hibernate model footprint in memory?
Is it possible to "lazy" load the persistent classes of the model, only when they are used?
Any other idea is welcome..
Thanks
Sincerely
Dario
Hibernate version: 3.0.5
|