how do i get the heap dump of a java application running in flexible environment

纵饮孤独 提交于 2021-02-11 07:12:48

问题


Given a java application running in flexible environment, how is it possible to get a heap dump to see the heavy objects? I would ideally import this into a tool like eclipse mat and analyze the heap dump. Another great option would be for stackdriver profiler showing it but i just see there cpu profiling but not memory profiling


回答1:


You can connect to a Flex instance with ssh in a similar fashion that you connect to GCE VM instances. Read more about it here. Once connected you can get the heap dump like you usually do.



来源:https://stackoverflow.com/questions/51874290/how-do-i-get-the-heap-dump-of-a-java-application-running-in-flexible-environment

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!