VisualVM memory leak
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 42/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- java
- Lĩnh vực
- performance
Hướng nghiên cứu
Start by reviewing the attached VisualVM log and the memory monitoring behavior while VisualVM monitors multiple long-running JVMs. Compare memory use over time with the reported expected range of 200–400 MB and the observed growth toward the 4 GB heap limit. Done means identifying and fixing the cause of the growth, then confirming memory remains near the expected range during a reproduction lasting multiple days.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Describe the bug
Hi, I have this situation, VisualVM is using all the memory I gave the it via JVM parameter.
To Reproduce
Steps to reproduce the behavior:
- Open VisualVM with -Xmx 4g.
- Run another two other JVMs, all long term, for multiple days, monitor all three VMs.
- Go back to the computer from time to time and check on VisualVM, nothing interesting is happening.
- Go back to the computer and check VisualVM - it uses all the memory.
Expected behavior
Normal memory usage, around 200-400 MB.
Actual behavior
VisualVM uses all the memory - in my case 4 GB.
VisualVM log
In attachement.
logfile.txt
Screenshots
Desktop (please complete the following information):
- OS: Windows Server 2022, x64, Windows Server 2022 Standard [Version 21H2 10.0.20348.5761] 64-bit
- JDK version: openjdk version "26" 2026-03-17
OpenJDK Runtime Environment (build 26+35-2893)
OpenJDK 64-Bit Server VM (build 26+35-2893, mixed mode, sharing) - Version: 2.2.2
- Ngôn ngữ chính
- Java
- Star
- 3.3k
- Fork
- 335
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của oracle/visualvm
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
-
Can the language be changed?Đang mởenhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
-
Tab contrast too lowĐang mởbug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
-
Notifications supportĐang mởenhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
Tất cả issue của oracle/visualvm
Issue tương tự
-
Marketplace time-zone issueĐang mởbug main ui
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
openhab/openhab-webui#4671 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
NearVanilla/IceCream#109 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
getRawTextContent() returns the lines of every page in reverse order (bottom to top) since 4.0.3Đang mở
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 90/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
bancolombia/bin-stash#79 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày