摘要
对于由Java开发的信息系统来说,如果是没有经验的程序员开发,可能会出现由于代码处理不好引起的内存泄漏问题。因为对于Java程序员来说,Java虚拟机的垃圾回收机制的存在会让他们忽视内存回收问题,而内存管理也是高级程序员需要掌握的内容。笔者以一个实际案例来说明Java开发信息系统中出现的内存泄漏问题,并且简单阐述了分析和解决问题的过程,希望能够为相关人士提供借鉴。
For the information systems developed by Java,if programmers have no experience,there may be memory leak problem caused by the bad code.As for Java programmers,Java garbage collection mechanism of the virtual machine will let them ignore the problem of memory collection,and memory management is the content which advanced programmers need to master.Thw author presents a practical case to illustrate the memory leak problem in the Java information system development and briefly discusses the process of analyzing and solving problems,and hope to provide reference for the relevant people.
作者
刘飞
Liu Fei(China Central Television,Beijing 100020,China)
出处
《信息与电脑》
2017年第6期69-71,共3页
Information & Computer