JavaProfile方法
来源:互联网 发布:东软his源码 编辑:程序博客网 时间:2024/06/16 10:23
一、JDK自带的jmap和jhat
1. 设置变量
set path=%path%;"C:\Program Files\Java\jdk1.7.0_17\bin"
2、查询进程号
启动应用后:jps
3、dump进程信息
jmap -F -dump:file=dump1188.bin 1188 //假设java进程号为1188
4、启动web进行查看
jhat dump1188.bin
在浏览器里查询细节
查看某个对象所占内存:点该对象,到最后有个total。。。。
0 0
- JavaProfile方法
- 方法
- 方法
- 方法
- 方法
- 方法
- 方法
- 方法
- 方法
- 方法
- 方法
- 方法
- 方法
- 方法
- 方法
- 方法
- 方法
- 方法
- C语言文件操作函数大全
- Pro Android学习笔记(七一):HTTP服务(5):多线程调用HttpClient
- su 切换,提示:“密码不正确”;
- Matlab MEX
- 虚拟机包 OVF和OVA的区别
- JavaProfile方法
- 朱刘算法——最小树形图
- 谷歌浏览器Google Chrome快捷键大全
- sql语句优化
- shell脚本调试方法
- error: unkown OS type hvm 解决方法
- debugging information cannot be found or does not match.binary was not built
- 云数据
- 从“点赞”想到的正能量营销