Announcement Announcement Module
Collapse
No announcement yet.
Memory leak in ConfigurationClassEnhancer$BeanMethodInterceptor Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Memory leak in ConfigurationClassEnhancer$BeanMethodInterceptor

    Hi,
    I'm using spring 3.1.4

    IMHO there is some sort of memory leak ConfigurationClassEnhancer$BeanMethodInterceptor. Due to it the BeanFactory isn't GC'd and we experience connection leak(since pool isn't released) after context close()-ed, mainly in tests(because of many context creation-close chains)

    resembles SPR-8008 and SPR-7901. Attaching gc-root from jvisualvm
    Attachment

    Please confirm and advice how to overcome this
    I can use SmartFactoryBean instead, but prefer Configuration


    Thanks in advance,
    Igor
    Attached Files
Working...
X