Application use a lot of memory with Bucket4j and Springboot 3 #486
Answered
by
vladimir-bukhtoyarov
williamjvr
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
vladimir-bukhtoyarov
May 3, 2024
Replies: 1 comment 2 replies
-
Hello @williamjvr You should do primary diagnostic by yourself. Configure JVM option to make heapdump on OOM. Or acquire heapdump manually. Then analyze heapdump in Eclipse Memory Analizer Tool(MAT). Without heapdump it is hard to answer where you were wrong. A few notes about your code:
I make a bet that MAT will show that cause of leak is connection per bucket problem. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
vladimir-bukhtoyarov
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @williamjvr
You should do primary diagnostic by yourself. Configure JVM option to make heapdump on OOM. Or acquire heapdump manually. Then analyze heapdump in Eclipse Memory Analizer Tool(MAT). Without heapdump it is hard to answer where you were wrong.
A few notes about your code:
I make a bet that MAT will show that cause of leak is connect…