-
Notifications
You must be signed in to change notification settings - Fork 328
Closed
Labels
Description
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps:
- Load a JFR file (My JFR is ~250MB).
- Switch to Samper
- Click the CPU button to get CPU samples
- Error in console.
Current behavior:
java.lang.OutOfMemoryError: Java heap space
Dumping heap to /home/pflaska/.visualvm/2.1.10/var/log/heapdump.hprof ...
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "AWT-XAWT"
Heap dump file created [1504753334 bytes in 7,055 secs]
Expected behavior
The JFR is not huge, VisualVM should be able to open it.
** Workaround**
Increasing -Xmx to 8GB works.
Desktop (please complete the following information):
- Ubuntu 22.04.5 LTS \n \l
- Java(TM) SE Runtime Environment 17-ea+15-LTS-1230
- 2.1.10