[
https://issues.apache.org/jira/browse/GEODE-10319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17539816#comment-17539816
]
ASF subversion and git services commented on GEODE-10319:
---------------------------------------------------------
Commit 6cd1228fb7e702079f1425e0ca15ba490ec0b929 in geode's branch
refs/heads/support/1.15 from Dale Emery
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=6cd1228fb7 ]
GEODE-10319: Clear meters when closing the meter registry (#7713)
(cherry picked from commit 802137f5487cc72927c4026895400f54dd2efc1b)
> Stopping the metrics service does not delete its meters
> -------------------------------------------------------
>
> Key: GEODE-10319
> URL: https://issues.apache.org/jira/browse/GEODE-10319
> Project: Geode
> Issue Type: Bug
> Components: statistics
> Affects Versions: 1.15.0, 1.16.0
> Reporter: Dale Emery
> Assignee: Dale Emery
> Priority: Major
> Labels: needsTriage, pull-request-available
>
> Some of Geode's standard meters hold references the cache.
> {{InternalDistributedSystemMetricsService.clearAndCloseMeterRegistry()}}
> closes the meter registry without deleting its meters. As a result, the
> closed registry retains indirect references to the cache, holding the closed
> cache in memory.
> {{clearAndCloseMeterRegistry()}} should clear the registry in addition to
> closing it.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)