Closed xianfengxiong closed 2 months ago
You are using very old versions of archaius (and of spring-cloud-starter-openfeign, for that matter). Archaius 1 is deprecated and we will not be fixing any hard-to-reproduce bugs such as this one. If you have a simpler test case we may consider a fix.
archaius-core: 0.6.6 version : 0.6.6
when i use spring-cloud-starter-openfeign:2.0.2.RELEASE, found young gc take a long time, and slow out-of-heap memory leak!
analyse dump file, fund the Inflater object too many OQL: SELECT classof(f.referent).@name FROM java.lang.ref.Finalizer f WHERE (f.referent != null)
use jmap -histo 1 | grep 'Inflater', fund this object slow increase
at last, i foud the cause is "pollingConfigurationSource" ScheduledThreadPool execute task every 60 seconds, the task is URLConfigurationSource.poll(), the task will invoke url.openStream() method, the url is config.properties file by default, url.openStream() will new Inflater object.
I didn't know I was using it wrong or a bug ?