-
Couldn't load subscription status.
- Fork 38.8k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: bugA general bugA general bug
Milestone
Description
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:
- spring01.png (25.99 kB)
- spring02.png (84.20 kB)
Issue Links:
- aop:scoped-proxy may fail with LinkageError: loader attempted duplicate class definition for name [SPR-11398] #16025 aop:scoped-proxy may fail with LinkageError: loader attempted duplicate class definition for name
Referenced from: commits af7753e, 587877c
1 votes, 4 watchers
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: bugA general bugA general bug