CN101819549B - Method and device for positioning memory leakage - Google Patents

Method and device for positioning memory leakage Download PDF

Info

Publication number
CN101819549B
CN101819549B CN201010150939A CN201010150939A CN101819549B CN 101819549 B CN101819549 B CN 101819549B CN 201010150939 A CN201010150939 A CN 201010150939A CN 201010150939 A CN201010150939 A CN 201010150939A CN 101819549 B CN101819549 B CN 101819549B
Authority
CN
China
Prior art keywords
memory
internal memory
program
memory value
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201010150939A
Other languages
Chinese (zh)
Other versions
CN101819549A (en
Inventor
刘伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dongguan Yulong Telecommunication Technology Co Ltd
Original Assignee
Dongguan Yulong Telecommunication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dongguan Yulong Telecommunication Technology Co Ltd filed Critical Dongguan Yulong Telecommunication Technology Co Ltd
Priority to CN201010150939A priority Critical patent/CN101819549B/en
Publication of CN101819549A publication Critical patent/CN101819549A/en
Application granted granted Critical
Publication of CN101819549B publication Critical patent/CN101819549B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The invention provides a method for positioning memory leakage, which comprises the following steps of: recording an initial memory value before a tested program runs and a surplus memory value after the tested program exits; calculating the value of memory consumed in the running process of the tested program according to the initial memory value and the surplus memory value; and judging whether the memory leakage exists in the tested program according to the consumption memory value, when the judgment result is that the memory leakage exists in the tested program, positioning the tested program. Correspondingly, the invention provides a device for positioning the memory leakage. When the method and the device are used, the memory leakage caused by codes per se can be judged and positioned; and the memory leakage caused by non-code or other unconventional conditions can also be detected and positioned well.

Description

Localization method and device that a kind of internal memory is revealed
Technical field
The present invention relates to the software detection field, relate in particular to localization method and device that a kind of internal memory is revealed.
Background technology
In computer science, memory overflow is meant because carelessness or mistake cause program to fail to discharge the situation of the internal memory that has not re-used.Thereby memory overflow can be because reduce the performance that the quantity of free memory reduces computing machine, and under the situation of worst, too much free memory is assigned with and can causes all or part of equipment to stop operate as normal, perhaps application crash.
VLD (Visual Leak Detector; The Visual leak locator) is the free internal memory leak detection instrument of a Visual of being used for C++; VLD monitors through the internal memory application function to program itself; And judge whether the corresponding internal memory of said internal memory application function has release, detects whether to exist internal memory to reveal, and navigate to the place code line.
But; Because the monitoring that VLD is based on internal memory application letter for pre-qualification number realizes internal memory leak detection and location; So revealing when internal memory is because under the non-code situation that cause or that some other unconventional situation causes, VLD can not well accomplish detection and the location that internal memory is revealed.
Summary of the invention
Problem to be solved by this invention is; The detection method and the device that provide a kind of internal memory to reveal according to record, calculating and the judgement of the memory value that is consumed before and after the tested program operation, judge whether tested program internal memory occurs and reveal; And when the internal memory leakage occurring, locate this tested program.
In order to address the above problem, the localization method that the embodiment of the invention provides a kind of internal memory to reveal comprises:
Initial memory value before the operation of record tested program, and said tested program is moved the free memory value after withdrawing from;
Based on said initial memory value and said free memory value, calculate the consumes memory value that is consumed in the said tested program running;
According to said consumes memory value, judge whether said tested program exists internal memory to reveal, and specifically comprise: if said consumes memory value is non-vanishing, then result of determination is for being; Otherwise result of determination is for denying;
When result of determination when being, locate said tested program;
Wherein, when result of determination when being, promptly be worth when non-vanishing when said consumes memory, said consumes memory value is the undelivered numerical value of the postrun internal memory of said tested program.
Accordingly, the locating device that the embodiment of the invention provides a kind of internal memory to reveal comprises:
Record cell be used to write down the preceding initial memory value of tested program operation, and said tested program is moved the free memory value after withdrawing from;
Computing unit is used for initial memory value and said free memory value according to said recording unit records, calculates the consumes memory value that is consumed in the said tested program operational process;
Identifying unit; Be used for the consumes memory value that calculates according to said computing unit; Judge that whether said tested program exists internal memory to reveal, and specifically comprises:, judge that then said tested program exists internal memory to reveal if the consumes memory value that said computing unit calculates is non-vanishing; Otherwise, judge that said tested program does not exist internal memory to reveal, and when result of determination when being, promptly be worth when non-vanishing when said consumes memory, said consumes memory value is the undelivered numerical value of the postrun internal memory of said tested program;
Positioning unit is used for when said identifying unit judges that said tested program exists internal memory to reveal, locating said tested program.
The present invention judges whether said program exists internal memory to reveal, when existing internal memory to reveal, to locate this program, to make things convenient for the user to recognize the position that exists internal memory to reveal through the situation of change to the internal memory in the program operation process.The embodiment of the invention is based on the record of internal memory situation of change, calculating and judges and detect internal memory leakage and location; Be not to carry out detection and the location that internal memory is revealed based on said program itself; Thereby detection and location that the internal memory that not only can realize being caused by program code itself is revealed; And realized when the internal memory leakage it being owing under the non-program code situation that cause or that some other unconventional situation causes, still can be good at accomplishing detection and the location that internal memory is revealed.
Description of drawings
Fig. 1 is that the structure of the locating device revealed of the internal memory of the embodiment of the invention is formed synoptic diagram;
Fig. 2 is the first embodiment schematic flow sheet of the localization method of internal memory leakage of the present invention;
Fig. 3 is the second embodiment schematic flow sheet of the localization method of internal memory leakage of the present invention.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
Fig. 1 is that the structure of the locating device revealed of the internal memory of the embodiment of the invention is formed synoptic diagram, and as shown in Figure 1, this device comprises:
Record cell 1 be used to write down the preceding initial memory value of tested program operation, and said tested program is moved the free memory value after withdrawing from.Before the operation tested program, can detect promptly test environment as required mobile terminal system is detected, when definite test environment does not have the internal memory leakage, can move said tested program, whether cause the internal memory leakage to detect said tested program.Said record cell 1 write down the initial memory value of the internal memory at terminal before the said tested program of operation, and after said tested program operation is withdrawed from, record terminal internal memory free memory value at this moment.Said record cell 1 can be as required, the free memory value after initial memory value before writing down said tested program and moving each time and corresponding said each time tested program operation are withdrawed from.For example, when the user moves said tested program n time, said record cell 1 corresponding record: the initial memory value dwBegin1 before the operation for the first time, the free memory value dwEnd1 after operation is withdrawed from for the first time; Initial memory value dwBegin2 before the operation moves the free memory value dwEnd2 after withdrawing from for the second time for the second time, and up to the n time initial memory value dwBeginn and free memory value dwEndn, at this moment, the n value is the bigger the better.
Computing unit 2 is used for initial memory value and said free memory value according to said record cell 1 record, calculates the consumes memory value that is consumed in the said tested program operational process.Said computing unit 2 can carry out subtraction with the initial memory value and the free memory value of said record cell 1 record; Obtain said consumes memory value; For example the initial memory value when record is 128M, and the free memory value is 120M, and then can calculate the consumes memory value is 8M.In addition, when comprising, the correspondence memory value of said record cell 1 record comprises dwBegin1, dwEnd1 like corresponding memory value when a plurality of when record; DwBegin2, dwEnd2 ..., when dwBeginn, dwEndn; 2 pairs of tested program of said computing unit account form of the consumes memory value in the operational process each time are: Δ dwMem1=dwBegin1-dwEnd1, and Δ dwMem2=dwBegin2-dwEnd2 ...; Δ dwMemn=dwBeginn-dwEndn; Simultaneously, can also calculate total consumes memory value Δ dwMemTotal=dwBegin1-dwEndn according to said dwBegin1 and dwEndn.
Identifying unit 3 is used for the consumes memory value that calculates according to said computing unit 2, judges whether said tested program exists internal memory to reveal.Wherein, Can work as said consumes memory and be worth when non-vanishing, judge that said tested program exists internal memory to reveal, when being 8M like the above-mentioned consumes memory value that calculates when said computing unit 2; There is the 8M internal memory not to be released after said tested program operation then is described, exists internal memory to reveal; When if the memory value of said consumption is zero, said tested program operation then is described after, internal memory all discharges accordingly, the problem that does not exist internal memory to reveal.
In actual conditions, because the existence of error may influence the judgement of said identifying unit 3, cause the generation of judging by accident, can carry out judgement that corresponding internal memory reveals through the mode of repeatedly moving tested program and avoid the generation of judging by accident.Move repeatedly tested program; Said record cell 1 carries out repeatedly the record and the calculating of corresponding memory value in the operational process with said computing unit 2; Obtain moving each time accordingly consumes memory value and/or the total consumes memory value in operation back (said move each time consumes memory value and/or obtaining of the total consumes memory value in operation back repeatedly) repeatedly as above-mentioned; Analyze said consumes memory value and/or the total consumes memory value moved each time; When all perhaps major part is all non-vanishing as if the repeatedly postrun value of consumes memory each time that obtains; Perhaps repeatedly postrun total consumes memory value is non-vanishing and strengthen along with the increase of number of run; Perhaps move the consumes memory value each time all or major parts are all non-vanishing and said total consumes memory value is non-vanishing and continue to increase along with the increase of number of run, there is the internal memory leakage in then said identifying unit 3 decidables; Otherwise, do not exist internal memory to reveal.
Positioning unit 4 is used for when said identifying unit 3 judges that said tested program exists internal memory to reveal, locating said tested program.In case judge that tested program internal memory occurs and reveals, then this tested order-checking of location exists internal memory to reveal so that the user recognizes that section program.
Further, as shown in Figure 1, this device also comprises:
Display unit 4, the memory usage information when being used for the display routine operation, and send the prompting that repeatedly moves said program.In said tested program operational process; Memory usage information in the time of can moving through said display unit 4 real-time display programs; As initial memory value and postrun free memory value before the tested program operation each time; And the consumes memory value etc., and show that promptings such as need repeating repeatedly to move said tested program needs tested program is moved to avoid erroneous judgement repeatedly with the prompting user.
Said tested program can be in master routine, the master routine function program, in the class method in the function program any one or multiple; Carry out corresponding record through the locating device that moves corresponding tested program and adopt said internal memory to reveal; Calculate, judge and the location, can be so that the user knows that clearly what cause that internal memory reveals is that master routine; Or certain section function program in the master routine; Perhaps certain class method in the master routine section function program, the user can carry out processing such as corresponding modification, the generation of avoiding internal memory to reveal.
The user can adopt locating device that said internal memory the reveals internal memory situation during the trace routine operation successively, reveals if internal memory appears in said master routine, then locatees said master routine; After locating said master routine, the internal memory situation when detecting each the function program operation in the said master routine, when the internal memory leakage occurring as if one or more function program, then there is the function program that internal memory is revealed accordingly in the location; After navigating to function program, the internal memory situation when detecting each class method operation in each said function program that is positioned when the internal memory leakage occurring as if one or more class method, then can navigate to the class method that exists internal memory to reveal accordingly.The user only needs the corresponding class method that navigates to made amendment and waits processing can avoid the generation of internal memory leakage, and need not check modification to whole procedure.
Description through the foregoing description; The embodiment of the invention has the following advantages: through the situation of change of the internal memory in the trace routine operational process; Judge whether said program exists internal memory to reveal; When existing internal memory to reveal, to locate this program, to make things convenient for the user to recognize the position that exists internal memory to reveal.The embodiment of the invention is based on carries out detection and the location that internal memory is revealed to the situation of change of memory value; Be not to carry out detection and the location that internal memory is revealed based on said program itself; Thereby detection and location that the internal memory that not only can realize being caused by program code itself is revealed; And realized when the internal memory leakage it being owing under the non-program code situation that cause or that some other unconventional situation causes, still can be good at accomplishing detection and the location that internal memory is revealed.
Fig. 2 is the first embodiment schematic flow sheet of the localization method of internal memory leakage of the present invention, and as shown in Figure 2, this method comprises:
S201: the initial memory value before the operation of record tested program, and said tested program is moved the free memory value after withdrawing from.Before the tested program operation and carrying out the correspondence memory record, can carry out the detection that test environment (being mobile terminal system) has or not internal memory to reveal, when definite test environment does not have the internal memory leakage, carry out the operation of tested program and the record of correspondence memory.Concrete, the free memory value after initial memory value before can writing down said tested program and moving each time and corresponding said each time tested program operation are withdrawed from.For example, when the user moves said tested program n time, be recorded as accordingly: the initial memory value dwBegin1 before the operation for the first time, the free memory value dwEnd1 after operation is withdrawed from for the first time; The initial memory value dwBegin2 before the operation for the second time, the free memory value dwEnd2 after operation is withdrawed from for the second time ..., the initial memory value dwBeginn before the n time operation, the free memory value dwEndn that moves after withdrawing from for the n time.
S202:, calculate the consumes memory value that is consumed in the said tested program running based on said initial memory value and said free memory value.Through initial memory value that writes down among the step S201 and free memory value are carried out subtraction; Obtain said consumes memory value; For example: the account form that is obtained the first consumes memory value by the listed example of step S201 is Δ dwMem1=dwBegin1-dwEnd1; The second consumes memory value is Δ dwMem2=dwBegin2-dwEnd2, and the like; Perhaps calculate consumes memory value Δ dwMemTotal=dwBegin1-dwEndn total in the operational process.Concrete, also can adopt above-mentioned two kinds of account forms to calculate corresponding consumes memory value respectively simultaneously.
S203: according to said consumes memory value, judge whether said tested program exists internal memory to reveal, when result of determination when being, locate said tested program.Concrete; As adopting consumes memory value that first kind of mode calculate all or most of total consumes memory values non-vanishing and/or that adopt the second way to calculate are non-vanishing and increase along with the increase of n value among the step S202; Internal memory appears in decidable to be revealed; Locate this tested program, this tested program promptly is the position that causes that internal memory is revealed.
Said tested program can comprise: master routine, each function program in the master routine, each class method in the function program etc.Adopt above-mentioned 3 steps, can detect master routine respectively, perhaps each function program in the master routine, perhaps whether each class method in the function program internal memory occurs and reveals, and when judging that internal memory occurring reveals, locatees this and the program that internal memory is revealed occurs.Also can be sequentially each function program in master routine, the said master routine, each class method in the said function program be carried out detection and the location that internal memory is revealed; The class method that internal memory is revealed appears in certain master routine to navigate to; Making things convenient for of the generation of the corresponding class method of user's modification, and needn't check modification to whole procedure to avoid internal memory to reveal.
Adopt the inventive method first embodiment; Through record and calculating to memory value in the program operation process; Detection and location that the internal memory of not only having realized being caused by code itself is revealed; And realized when the internal memory leakage it being owing under the non-code situation that cause or that some other unconventional situation causes, still can be good at accomplishing detection and the location that internal memory is revealed.
Below detect judging whether a certain principal function exists internal memory to reveal, and to navigate to the class method that exists internal memory to reveal in the said master routine be example, and the localization method that internal memory of the present invention is revealed describes.
Fig. 3 is the second embodiment schematic flow sheet of the localization method of internal memory leakage of the present invention, and as shown in Figure 3, this method comprises:
S301: the initial memory value before the record main program operation, and the free memory value of said main program operation after withdrawing from, and calculate the consumes memory value that consumes in the said main program running based on said initial memory value and said free memory value.Operation at least twice said master routine, and the number of times of operation is many more, can make that the follow-up judgement to the internal memory leakage is accurate more.Initial memory value before the record each run said master routine is: dwBegin1, dwBegin2 ..., dwBeginn; Free memory value after the each said master routine operation of corresponding record is withdrawed from is: dwEnd1, dwEnd2 ..., dwEndn; Said initial memory value and corresponding said free memory value are carried out subtraction, can obtain the consumes memory value of the said master routine of corresponding each run: Δ dwMem1=dwBegin1-dwEnd1, Δ dwMem2=dwBegin2-dwEnd2 ..., Δ dwMemn=dwBeginn-dwEndn; Free memory value dwEndn subtraction after n said master routine of initial memory value dwBegin1 and operation before also can said master routine being moved for the first time withdraws from, the mode of Δ dwMemTotal=dwBegin1-dwEndn obtains consumes memory value Δ dwMemTotal total in the operational process.
S302:, judge whether main program exists internal memory to reveal based on said consumes memory value.Whether the said consumes memory value that can calculate through judgement is zero to judge whether said master routine exists leakage, when being zero, judges not exist internal memory to reveal, and when non-vanishing, then judges to exist internal memory to reveal.Concrete; Of above-mentioned example, when Δ dwMem1, Δ dwMem2 ..., Δ dwMemn all or most of when non-vanishing, and/or when Δ dwMemTotal non-vanishing; And during along with the corresponding increasing of the increase of n value, promptly the said master routine of decidable exists internal memory to reveal.When judging that this master routine exists internal memory to reveal, execution in step S303 if this master routine does not exist internal memory to reveal, then finishes to withdraw from.
S303: when judging that said master routine exists internal memory to reveal; Initial memory value before each function program in the said master routine of record location is moved respectively; And said each function program is moved the free memory value after withdrawing from; According to said initial memory value and said free memory value, calculate the consumes memory value that is consumed in said each function program operational process respectively.When judging that said master routine exists internal memory to reveal; Move each function program in the said master routine respectively; And the correspondence memory in each function program operational process write down and calculate; Wherein, the record and the computation process of the correspondence memory value of the master routine among said record and calculating and the step S301 are identical, do not give unnecessary details at this.
S304: according to said consumes memory value, whether the arbitration functions program exists internal memory to reveal.Whether the said consumes memory value that can calculate through judgement is zero to judge whether each function program in the said master routine exists leakage, when being zero, judges not exist internal memory to reveal, and when non-vanishing, then judges to exist internal memory to reveal.Concrete, possibly judge the situation that exists a plurality of function programs to exist internal memory to reveal, can navigate to the function program that each exists internal memory to reveal respectively.Concrete, it is identical with the mode of step S302 whether function program exists internal memory to reveal decision procedure, do not give unnecessary details at this.
S305: when judging that said function program exists internal memory to reveal; Initial memory value before each class method in the said function program of record location moves respectively; And said each class method moves the free memory value after withdrawing from; According to said initial memory value and said free memory value, calculate the consumes memory value that is consumed in said each class method operational process respectively.When the decision-making function program exists internal memory to reveal; Move each class method in each function program that has the internal memory leakage respectively; And do corresponding internal memory record and calculate; Wherein, the record and the computation process of the correspondence memory value of the master routine among said record and calculating and the step S301 are identical, do not give unnecessary details at this.At this moment, need not do any processing to other function programs that do not exist internal memory to reveal.
S306:, judge whether class method exists internal memory to reveal based on said consumes memory value.Whether the said consumes memory value that can calculate through judgement is zero to judge whether corresponding class method exists leakage, when being zero, judges not exist internal memory to reveal, and when non-vanishing, then judges to exist internal memory to reveal.Concrete, it is identical with the mode of step S302 whether class method exists internal memory to reveal decision procedure, do not give unnecessary details at this.
S307: locate said class method.Navigate to have the said class method that internal memory reveals after, be convenient to the modification of user, to eliminate the situation that said master routine exists internal memory to reveal to the class method that has internal memory and reveal.
The inventive method second embodiment; Through moving master routine successively; Function program in the master routine, the class method in the function program, and write down the situation of change of memory value in each operational process; Judge whether function program, the class method in the function program in corresponding master routine, the master routine exist memory overflow; To navigate to the class method that exists internal memory to reveal in the said master routine, need not carry out judgement and the location that internal memory is revealed based on said program itself, thus judgement and location that the internal memory of not only having realized being caused by code itself is revealed; And realized when the internal memory leakage it being owing under the non-code situation that cause or that some other unconventional situation causes, still can be good at accomplishing detection and the location that internal memory is revealed.
Above disclosedly be merely preferred embodiment of the present invention, can not limit the present invention's interest field certainly with this, the equivalent variations of therefore doing according to claim of the present invention still belongs to the scope that invention is contained.

Claims (4)

1. the localization method that internal memory is revealed is characterized in that, comprising:
Initial memory value before the record main program operation, and the free memory value of said main program operation after withdrawing from, and calculate the consumes memory value that is consumed in the said main program running based on said initial memory value and said free memory value;
Judge according to the consumes memory value in the said master routine operational process whether said master routine exists internal memory to reveal;
When judging that said master routine exists internal memory to reveal; Locate said master routine; Move each function program in the said master routine respectively, and write down the initial memory value before each the function program operation in the said master routine respectively, and said each function program is moved the free memory value after withdrawing from; According to said initial memory value and said free memory value, calculate the consumes memory value that is consumed in said each function program operational process respectively;
Judge based on the consumes memory value in said each function program running whether said each function program exists internal memory to reveal;
When the decision-making function program exists internal memory to reveal; The function program that the location exists internal memory to reveal; Move each class method in each function program that has the internal memory leakage respectively; Write down the initial memory value before said each class method operation that exists in each function program that internal memory reveals respectively; And the free memory value of said each class method operation after withdrawing from, calculate the consumes memory value that is consumed in said each class method running respectively according to said initial memory value and free memory value;
Judge based on the consumes memory value in said each class method running whether class method exists internal memory to reveal, and there is the class method of internal memory leakage in the location.
2. the method for claim 1 is characterized in that, after the consumes memory value that is consumed in each function program in calculating said master routine, master routine and all kinds of program operation process in the function program, also comprises:
Memory usage information when showing all kinds of program run in each function program and the function program in said master routine, the master routine, and whether prompting need repeatedly move each function program and each class method in the function program in said master routine, the master routine.
3. the locating device that internal memory is revealed is characterized in that, comprising:
Record cell be used to write down the preceding initial memory value of tested program operation, and said tested program is moved the free memory value after withdrawing from;
Computing unit is used for initial memory value and said free memory value according to said recording unit records, calculates the consumes memory value that is consumed in the said tested program operational process;
Identifying unit is used for the consumes memory value that calculates according to said computing unit, judges whether said tested program exists internal memory to reveal;
Positioning unit is used for when said identifying unit judges that said tested program exists internal memory to reveal, locating said tested program;
Wherein, the locating device that said internal memory is revealed is the internal memory situation during the trace routine operation successively, reveals if internal memory appears in master routine; Then locate said master routine, locate said master routine after, the internal memory situation when detecting each function program operation in the said master routine; When if the internal memory leakage appears in one or more function program; Then there is the function program that internal memory is revealed accordingly in the location, navigate to function program after, the internal memory situation when detecting each class method operation in each said function program that is positioned; If when the internal memory leakage appears in one or more class method, then navigate to the class method that exists internal memory to reveal accordingly.
4. device as claimed in claim 3 is characterized in that, also comprises:
Display unit is used to show the memory usage information when said tested program is moved, and shows the prompting that whether need repeatedly move said tested program.
CN201010150939A 2010-04-13 2010-04-13 Method and device for positioning memory leakage Active CN101819549B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010150939A CN101819549B (en) 2010-04-13 2010-04-13 Method and device for positioning memory leakage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010150939A CN101819549B (en) 2010-04-13 2010-04-13 Method and device for positioning memory leakage

Publications (2)

Publication Number Publication Date
CN101819549A CN101819549A (en) 2010-09-01
CN101819549B true CN101819549B (en) 2012-10-10

Family

ID=42654662

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010150939A Active CN101819549B (en) 2010-04-13 2010-04-13 Method and device for positioning memory leakage

Country Status (1)

Country Link
CN (1) CN101819549B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103778056B (en) * 2012-10-23 2017-08-22 腾讯科技(深圳)有限公司 wireless application stability test method and system
CN104050044A (en) * 2014-06-19 2014-09-17 宇龙计算机通信科技(深圳)有限公司 Terminal and method and device for releasing memory
CN104965779A (en) * 2015-05-22 2015-10-07 浪潮电子信息产业股份有限公司 Detecting and locating method and device for memory leakage based on PoolMon
CN105426306A (en) * 2015-11-04 2016-03-23 武汉微创光电股份有限公司 Method for testing internal memory in system test
CN106354627A (en) * 2016-07-21 2017-01-25 努比亚技术有限公司 Method and system for detecting memory leakage of application program
CN111356987B (en) * 2017-09-18 2021-05-11 深圳传音通讯有限公司 Dynamic memory identification method and device
CN111124935B (en) * 2019-12-31 2023-08-08 奇安信科技集团股份有限公司 Physical memory data leakage detection method and device based on virtualization platform

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1466057A (en) * 2002-06-20 2004-01-07 华为技术有限公司 Method for checking sofeware memory leak
CN101145128A (en) * 2007-06-13 2008-03-19 中兴通讯股份有限公司 Method for detecting RAM leakage
CN101599048A (en) * 2009-07-01 2009-12-09 福建星网锐捷网络有限公司 A kind of method and apparatus of internal memory monitoring

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1466057A (en) * 2002-06-20 2004-01-07 华为技术有限公司 Method for checking sofeware memory leak
CN101145128A (en) * 2007-06-13 2008-03-19 中兴通讯股份有限公司 Method for detecting RAM leakage
CN101599048A (en) * 2009-07-01 2009-12-09 福建星网锐捷网络有限公司 A kind of method and apparatus of internal memory monitoring

Also Published As

Publication number Publication date
CN101819549A (en) 2010-09-01

Similar Documents

Publication Publication Date Title
CN101819549B (en) Method and device for positioning memory leakage
CN100504807C (en) EMS memory leakage testing method in communication apparatus system
US8769504B2 (en) Method and apparatus for dynamically instrumenting a program
CN103106134B (en) A kind of performance deficiency detection method, device and system
CN107066390B (en) Dynamic memory leak detection method and system
US20090037885A1 (en) Emulating execution of divergent program execution paths
CN103838663A (en) Application testing method and device
CN109117327A (en) A kind of hard disk detection method and device
CN105302714A (en) Method and apparatus for monitoring memory leak in test process
CN101763305A (en) Method for detecting memory leak of embedded system
CN102681938A (en) Memory leakage detecting method and device
CN105740122A (en) Method and system for monitoring mobile phone memory leak
CN111694687A (en) Vehicle software fault detection method, device, equipment and storage medium
CN111274060B (en) Method, device, equipment and storage medium for determining memory exception
CN115686961A (en) Processor testing method and device and electronic equipment
CN110941549B (en) Memory leak detection method, device, medium and electronic equipment
CN107085532B (en) task monitoring method and device
CN116521414A (en) Fault code positioning method, cloud server, system and storage medium
CN116401120A (en) Cable connection verification method, device, equipment and machine-readable storage medium
CN105912417A (en) Detection method of virtual system, related software running method and related device
CN101510241B (en) Binary detecting and positioning device for shaping overflow leak
CN107273283B (en) Automatic software detection method and device
CN102023916B (en) Computer system detection method
CN110427320B (en) Lightweight embedded program control flow abnormity positioning detection method
CN113868137A (en) Method, device and system for processing buried point data and server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant