lihui121 opened a new issue, #4153:
URL: https://github.com/apache/hertzbeat/issues/4153
### Is there an existing issue for this?
- [x] I have searched the existing issues
### Current Behavior
hertzbeat-server 内存溢出,我只监控了80台网络设备,频率1min,
jmap -histo <PID> | head -30 执行结果如下
um #instances #bytes class name (module)
-------------------------------------------------------
1: 665854 2472239768 [Ljava.lang.Object; ([email protected])
2: 8196808 459021248
org.apache.hertzbeat.common.timer.HashedWheelTimer$HashedWheelTimeout
3: 5683283 136398792
java.util.concurrent.LinkedBlockingQueue$Node ([email protected])
4: 340726 51803952 [B ([email protected])
5: 58590 20235344 [Ljdk.internal.vm.FillerElement;
([email protected])
6: 641471 15395304 java.util.ArrayList ([email protected])
7: 326600 7838400 java.lang.String ([email protected])
8: 135732 5429280 java.util.LinkedHashMap$Entry
([email protected])
9: 58873 5180824 java.lang.reflect.Method
([email protected])
10: 16662 3551992 [I ([email protected])
11: 102585 3282720
java.util.concurrent.ConcurrentHashMap$Node ([email protected])
12: 26544 3164392 java.lang.Class ([email protected])
13: 39178 3003192 [Ljava.util.HashMap$Node;
([email protected])
14: 912 2943616 [C ([email protected])
15: 41691 2668224 java.util.LinkedHashMap
([email protected])
16: 71331 2282592 java.util.HashMap$Node
([email protected])
17: 2150 1445296
[Ljava.util.concurrent.ConcurrentHashMap$Node; ([email protected])
18: 38765 982296 [Ljava.lang.Class; ([email protected])
19: 12176 876672 java.lang.reflect.Field
([email protected])
20: 15117 725616
org.springframework.util.ConcurrentReferenceHashMap$SoftEntryReference
21: 22474 719168 java.lang.ref.WeakReference
([email protected])
22: 14354 688992 java.lang.invoke.MemberName
([email protected])
23: 14352 688896 java.util.HashMap ([email protected])
24: 43007 688112 java.lang.Object ([email protected])
25: 3496 503424
org.eclipse.persistence.internal.identitymaps.HardCacheWeakIdentityMap$ReferenceCacheKey
26: 112 456448 [Ljava.nio.ByteBuffer;
([email protected])
27: 17324 415776 java.lang.Long ([email protected])
28: 9607 384280 java.util.WeakHashMap$Entry
([email protected])
### Expected Behavior
_No response_
### Steps To Reproduce
_No response_
### Environment
```markdown
HertzBeat version(s): 1.8.0
```
### Debug logs
_No response_
### Anything else?
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail:
[email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]