You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ClassLoader leak with @Async, CGLIB and DefaultListableBeanFactory [SPR-11776] #16398
When redeploying a Spring application, Perm gen keeps increasing along with the classes loaded. I looked at the heap dump file using Eclipse MAT and it suspected that DefaultListableBeanFactory class was a leak.
This looks suspiciously like #15899, which got fixed in 3.2.7. Can you please double-check which Spring Framework 3.2.x version you have tested this against? If the problem actually remains against 3.2.8, I wonder whether the fix for #15899 was somehow lacking...
There was a repro project provided on #15899 which shows that the original issue has been fixed. I am trying to understand what could differ in your particular scenario.
Activity
spring-projects-issues commentedon May 12, 2014
Colin McQueen commented
I excluded weak/soft/phantom refs and it looks like it has to do with the
@Asyncannotation.spring-projects-issues commentedon May 12, 2014
Juergen Hoeller commented
This looks suspiciously like #15899, which got fixed in 3.2.7. Can you please double-check which Spring Framework 3.2.x version you have tested this against? If the problem actually remains against 3.2.8, I wonder whether the fix for #15899 was somehow lacking...
Juergen
spring-projects-issues commentedon May 13, 2014
Colin McQueen commented
I checked again and I am using version 3.2.8.
spring-projects-issues commentedon Jul 6, 2014
Kohei Tamura commented
Does anyone know a workaround?
spring-projects-issues commentedon Jul 7, 2014
Stéphane Nicoll commented
There was a repro project provided on #15899 which shows that the original issue has been fixed. I am trying to understand what could differ in your particular scenario.
I tried to update this sample app to boot but I was unable to find any issue with it.
Would you be able to submit a minimal project that reproduce this issue with
3.2.8or later? Thanks!spring-projects-issues commentedon Nov 28, 2014
Stéphane Nicoll commented
I could not find any way to reproduce the issue. Could you please provide a sample project.? If not, I am afraid there's not much we could do.