Hi,
I have had hard time figuring out an OutOfMemoryError problem that crashed with CGLIB ENHANCEMENT FAILED. I ran into this problem when using datamodels of about 2000 classes. The reason for this I think is that CGLIB will run out of space for its proxies. For this situation, changing the -Xmx setting will do nothing because reflective data is not stored on the heap.
I think someone out there will run in the same problem, so I am posting the solution : increase the perm size with a JVM argument :
-XX:MaxPermSize (
|