首页 | 官方网站   微博 | 高级检索  
     

基于VB编程的内存泄露检测
引用本文:田佳可,陈豪赞,颜锦奎.基于VB编程的内存泄露检测[J].电子测量技术,2014(2):109-111,123.
作者姓名:田佳可  陈豪赞  颜锦奎
作者单位:[1]上海大学特种光纤与光接入网省部共建重点实验室,上海200072 [2]爱立信(中国)通信技术有限公司,上海200072
基金项目:总装备部预研基金(9140A01010108BQ0101)、上海市重点学科及实验室基金(S30108,08DZ2231100)资助项目
摘    要:在计算机系统中,内存泄露常常容易诱发各种系统问题,比如系统宕机、重启等,给实际计算机应用系统造成非常严重的危害。在系统研发阶段,需要检测内存泄露是否存在,从而改进系统,进而提高系统的健壮性。为了有效地检测系统可能存在的内存泄露问题,运用基于Visual Basic编程的算法,通过对计算机进程的内存消耗数据进行数理统计,能够快速地寻找出发生内存泄露的进程。实验结果证明,本方法是切实可靠的,能够有效地预防计算机系统内存泄露,进而避免由于系统崩溃导致的损失。

关 键 词:内存泄露  数理统计  Visual  Basic

Memory leak detection based on VB programming
Tian JiakeKey Laboratory of Specialty Fiber Optics and Optical Access Networks,Shanghai University,Shanghai,China Chen HaozanEricssonChinaCommunications Co.LTD,Shanghai,China Yan Jinkui.Memory leak detection based on VB programming[J].Electronic Measurement Technology,2014(2):109-111,123.
Authors:Tian JiakeKey Laboratory of Specialty Fiber Optics and Optical Access Networks  Shanghai University  Shanghai  China Chen HaozanEricssonChinaCommunications CoLTD  Shanghai  China Yan Jinkui
Affiliation:Tian Jiake(Key Laboratory of Specialty Fiber Optics and Optical Access Networks,Shanghai University,Shanghai 200072,China) Chen Haozan(Ericsson(China)Communications Co.LTD,Shanghai 200072,China) Yan Jinkui(Key Laboratory of Specialty Fiber Optics and Optical Access Networks,Shanghai University,Shanghai 200072,China)
Abstract:In computer systems,many system problems such as system crash and system restart are always caused by memory leak,which results in a vast damage to the systems.During the system development phase,it is necessary to detect if memory leak occurs so as to improve the system and strengthen the system robustness.Aiming at the problem of system's potential memory leak,we present an algorithm to perform statistics analysis on memory consumption data of computer processes in Visual Basic programs,which can easily find out the processes which have memory leak.By experimental result,this method is reliable and can effectively prevent the computer system's memory leak,thus avoiding the significant loss resulted from system crash.
Keywords:memory leak  mathematical statistics  Visual Basic
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号