Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-10709

Spring 3.2.2 AOP has increased memory usage

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.2.2
    • Fix Version/s: 3.2.4, 4.0 M2
    • Component/s: Core:AOP
    • Labels:
      None
    • Last commented by a User:
      true

      Description

      Our project moved to spring 3.2.2 and observed increased memory usage. I tracked it down to UndeclaredThrowableStrategy. Older Spring versions used cglib implementation of it and it has memory usage fixed in
      2.2.3 release.

      But current spring version uses own implementation of the class which has memory issue - keeps ClassTransformer in private member when it is not actually used.
      Attaching screenshots from Eclipse MAT.
      In our project this uses 300-400 MB memory which gets wasted.

        Attachments

        1. spring01.png
          spring01.png
          26 kB
        2. spring02.png
          spring02.png
          84 kB

          Issue Links

            Activity

              People

              • Assignee:
                pwebb Phil Webb
                Reporter:
                kgedminas Kestutis Gedminas
                Last updater:
                Spring Issuemaster
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  40 weeks, 1 day ago