• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

OutOfMemory issue while using CGLIB in spring

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Recently I faced a problem,
I've implemented annotation driven transaction management in Spring & used CGLIB.jar as it is required for Proxy creation.
Transaction handling code was a part of SOA service , service was running out of memory (PermGen) after handling ~ 20 requests.
After searching on various websites I found that there is a memory leak issue with CGLIB because it creates hard link between proxy and class loader.
I am still unclear about root cause of this issue, can somebody please explain this in detail...
 
Bartender
Posts: 1682
7
Android Mac OS X IntelliJ IDE Spring Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What does your POM file look like? I have never had any issues running with this on JBOSS, TOMCAT or Websphere in some pretty large enterprise applications. I wonder what versions of spring and cglib you are pulling in.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic