Re: [Hibernate] java.lang.OutOfMemoryError: PermGen space

2007-06-04 Thread Jeoff Wilks
Every time the CGLIB Enhancer generates a new class, that generated class jumps straight to the PermGen (permanent generation) of your java heap. CGLIB Enhancers are faster in terms of performance, but more dangerous in terms of memory consumption. (I ran into this same problem with another produc

[Hibernate] java.lang.OutOfMemoryError: PermGen space

2007-06-04 Thread John Mitchell
Hi, I have been having to restart Apache Tomcat as frequently as once a day and I suspect the problem is related to hibernate. I have attached an error log from apache tomcat: I get the following error below ERROR BasicLazyInitializer:105 - CBLIB Enhancement failed: com.insequence.gv.ProductOr