Skip to content

ClassLoader leak with @Async, CGLIB and DefaultListableBeanFactory [SPR-11776] #16398

Closed

Description

@spring-projects-issues

Colin McQueen opened SPR-11776 and commented

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.


Affects: 3.2.8

Attachments:

Issue Links:

1 votes, 5 watchers

Activity

  1. spring-projects-issues commented on May 12, 2014

    @spring-projects-issues
    CollaboratorAuthor

    Colin McQueen commented

    I excluded weak/soft/phantom refs and it looks like it has to do with the @Async annotation.

  2. spring-projects-issues commented on May 12, 2014

    @spring-projects-issues
    CollaboratorAuthor

    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

  3. spring-projects-issues commented on May 13, 2014

    @spring-projects-issues
    CollaboratorAuthor

    Colin McQueen commented

    I checked again and I am using version 3.2.8.

  4. spring-projects-issues commented on Jul 6, 2014

    @spring-projects-issues
    CollaboratorAuthor

    Kohei Tamura commented

    Does anyone know a workaround?

  5. spring-projects-issues commented on Jul 7, 2014

    @spring-projects-issues
    CollaboratorAuthor

    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.8 or later? Thanks!

  6. spring-projects-issues commented on Nov 28, 2014

    @spring-projects-issues
    CollaboratorAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions