jvm
ningguixin
喜欢游泳嘿嘿
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
java内存泄漏的若干情形
用java编写的程序存在内存泄露吗? 大家可能认为JVM(java虚拟机)有良好的垃圾回收机制(GC), 不想C/C++那样需要手动回收内存。然而事实是,JVM也是基于一些算法来进行的,在满足一定条件下才能回收内存。 所以,一旦一个内存不能使用需要回收,但却不满足JVM 垃圾回收算法的条件时,那块内存就无法被GC回收,这时就会产生内存泄露。 为了讲解java内存泄露的几种情形,转载 2012-07-09 10:51:53 · 778 阅读 · 0 评论 -
Xms Xmx PermSize MaxPermSize 区别
Eclipse崩溃,错误提示: MyEclipse has detected that less than 5% of the 64MB of Perm Gen (Non-heap memory) space remains. It is strongly recommended that you exit and restart MyEclipse with new virtual ma转载 2013-06-04 10:48:50 · 660 阅读 · 0 评论 -
jvisualvm 远程连接 JVM
set OPTS="-Dcom.sun.management.jmxremote.port=10112 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Djava.rmi.server.hostname=10.243.0.186"原创 2014-05-29 11:33:15 · 1365 阅读 · 0 评论 -
PSYoungGen ParNewGeneration DefNewGeneration等名词解释
HotSpot VM的GC组老人之一Jon Masamitsu很久之前就写过blog讲解这个:https://blogs.oracle.com/jonthecollector/entry/our_collectors 简单来说,有这么多东西反映了HotSpot VM的开发历史和实现细节。我在写篇东西讲述这部分历史,哪天写完的话在这边也放个链接嗯。 DefNewGeneration是de转载 2014-06-19 16:29:01 · 1960 阅读 · 0 评论
分享