摘要
随着越来越多的服务器程序采用Java技术,例如电信网管系统,服务器程序往往长期运行,因此Java的内存泄漏问题不容忽视。否则即使有少量泄漏,长期运行之后,系统将会面临崩溃的危险。文章通过分析Java内存回收机制的原理和内存泄漏的原因,提出了预防和检测内存泄漏的办法。
With more and more server programs using Java technology, the servers are required run continuously for a long time, therefore the java memory leak cannot be neglected, Otherwise the system will be collapsed even it has little leak after executing for a while, This paper concluded the way how to prevent and detect memory leaks by analyzed how garbage collection actually works and what causes Java memory leaks.
出处
《电脑知识与技术》
2006年第11期153-154,共2页
Computer Knowledge and Technology