alibaba / alibaba/Sentinel

Large memory footprint: Sentinel MetricNode

Open
#1,171 3 comments 0 reactions 0 assignees View on GitHub
area/performance kind/enhancement
Dominant language
Java
Stars
23.1k
Forks
8.1k
PR merge metrics
No merged PRs in 30d

Description

### Describe what happened (or what feature you want)

Large memory footprint detected (objects of Sentinel)

线上发布应用后查看堆栈信息发现sentinel相关对象占用太高, 项目中除了测试用例几乎没有埋点信息,请问如何优化以减少内存占用?

详情见图 (heap objects):

![](http://ww1.sinaimg.cn/large/e6ed9ff1gy1g94u9b6ig5j20lz0c10t6.jpg)

### Tell us your environment

Sentinel 1.5.2

Contributor guide

Open the contributing guide

Research direction

Begin with the Sentinel 1.5.2 heap-object evidence in the report and verify the memory footprint in an application with minimal non-test instrumentation. The issue does not identify a file, test, or concrete expected change, so completion would require determining the cause and defining a measurable reduction before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.