-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Description
Affects: 5.2.8
First of all, sorry for my bad english. If you're hard to understand my sentence, please comment
Ive been testing my team's project and monitoring it with scouter APM.
And found that "used heap" keeps going high whenever I call an different API .
I debugged and found that Spring accumulates ResponseEntity in ConcurrentReferenceHashMap of ResolvableType.cache.
It puts the whole response body of each ResponseEntity in ConcurrentReferenceHashMap which is static.
I believe that the Spring developers intended it for some reasons but I cannot find any even if I googled a lot.
If It it's an issue , please fix this.
if it's not, I would very appreciate you for giving me some explanation why Spring accumulates the ResponseEntity objects
even if it has a BIG BIG body.
Thank you.
Best Regard.