Skip to content

Spring 3.2.2 AOP has increased memory usage [SPR-10709] #15337

@spring-projects-issues

Description

@spring-projects-issues

Kestutis Gedminas opened SPR-10709 and commented

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.


Affects: 3.2.2

Attachments:

Issue Links:

Referenced from: commits af7753e, 587877c

1 votes, 4 watchers

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions