Dmitrii
Dmitrii
Any updates here? Some cglib generated proxy classes keep reference to BeanFactory, so BeanFactory can't be garbage collected, and memory footprint grows and grows. It is the most sensitive in...
I wouldn't say that problem is only in `MethodSecurityMetadataSourceAdvisor`. In our application I also see reference from `RetryConfiguration`:  And such chain(related to `RefreshScope`) keeps reference to `GenericWebApplicationContext` . 
@velo please have a look. I didn't add test into LoggerTest because it is used as parent, so decided to create new test class
As a workaround I created custom convention, which provides same key names like spring for WebClient/RestTemplate https://gist.github.com/Nazukin-Dmitry/c020cf8c71adccde7186a89e5bad7989
Logger may read full response body into memory if your log level is HEADERS or FULL https://github.com/OpenFeign/feign/blob/a695cbaebb0fb71005020e3f037988bb3ac22f76/core/src/main/java/feign/Logger.java#L129