If you’re connecting to a Docker container or Heroku dyno, you’ll be asked where to save the file remotely, and you’ll need to manually transfer the heap dump file to your local machine and open it with “ File > Load…”. One caveat of this functionality is that it only works seamlessly when VisualVM is accessing an app running natively on your machine. Your Java code will be suspended until this process finishes. BE CAREFUL: Taking a heap dump means stopping all application threads while a possibly multi-gigabyte file is written. The “ Heap Dump” button requests that the JVM take a heap dump. The “ Perform GC” button triggers a full garbage collection.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |