oracle / visualvm

VisualVM is an All-in-One Java Troubleshooting Tool
https://visualvm.github.io/
Other
2.79k stars 297 forks source link

Opening heap dump on M1 Mac is slow #555

Closed thurka closed 4 months ago

thurka commented 4 months ago

This problem is specially visible in a larger heap dumps >4G, where opening heap dump is significantly slower for second half (opening progress is bigger than 50%). On my testing with M1, opening of heap dump takes about 7 minutes. Similar Intel machine can open the same heap dump under 30 seconds.

thurka commented 4 months ago

A lot of data is written (>40M/sec) by VisualVM while opening the file (can be seen in Activity monitor).

thurka commented 4 months ago

This issue looks similar to this issue on Linux.

thurka commented 4 months ago

Fixed in master.