首页 | 本学科首页   官方微博 | 高级检索  
     

清剿Java程序中的内存泄漏
引用本文:冯涛,宋成明.清剿Java程序中的内存泄漏[J].微机发展,2006,16(7):123-125.
作者姓名:冯涛  宋成明
作者单位:上海师范大学数理信息学院 上海200234
摘    要:Java语言的一个显著特点是它通过虚拟机和垃圾回收机制管理着大部分的内存事务,但是在Java程序中还是可能存在内存泄漏问题。文中首先对Java内存泄漏做一个简要的定义,接着围绕一个实例详细地介绍如何用工具检测Java内存泄漏,最后列举了一些典型的泄漏,以便读者在Java程序开发中尽量避免类似的内存泄漏。

关 键 词:内存泄漏  垃圾回收  虚拟机
文章编号:1673-629X(2006)07-0123-03
修稿时间:2005年10月20

Exterminates Memory Leaks in Java Programs
FENG Tao,SONG Cheng-ming.Exterminates Memory Leaks in Java Programs[J].Microcomputer Development,2006,16(7):123-125.
Authors:FENG Tao  SONG Cheng-ming
Abstract:The remarkable characteristic of Java language is it manages majority of memories business by way of Java virtual machine and garbage collecting mechanism.But it is possible in the Java codes still exist the memory leak.First,this article does one brief definition to Java memory leaks.Then revolves one example detailedly to introduce how using the tool to examine the Java memory leaks.Finally introduces some models leak in order to the reader as far as possible avoids the memory leaks in the Java code development.
Keywords:memory leaks  garbage collection  JVM
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号