CN103914355A - Method and device for positioning memory repeated release - Google Patents

Method and device for positioning memory repeated release Download PDF

Info

Publication number
CN103914355A
CN103914355A CN201410089086.XA CN201410089086A CN103914355A CN 103914355 A CN103914355 A CN 103914355A CN 201410089086 A CN201410089086 A CN 201410089086A CN 103914355 A CN103914355 A CN 103914355A
Authority
CN
China
Prior art keywords
internal memory
information
identification information
memory
release
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.)
Pending
Application number
CN201410089086.XA
Other languages
Chinese (zh)
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.)
Opzoon Technology Co Ltd
Original Assignee
Opzoon 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 Opzoon Technology Co Ltd filed Critical Opzoon Technology Co Ltd
Priority to CN201410089086.XA priority Critical patent/CN103914355A/en
Publication of CN103914355A publication Critical patent/CN103914355A/en
Pending legal-status Critical Current

Links

Abstract

Provided are a method and device for positioning memory repeated release. The method comprises the steps of applying for an expansion area of a predetermined size in a memory to be used for storing memory head information, and enabling the memory head information to comprise head identification information for conforming memory application and release conditions, initializing the head identification information as a first mark, and storing function information for calling and applying for the memory; detecting the head identification information of the memory prior to memory release; if changes occur in the head identification information, determining repeated release, and outputting positioning information of the repeated release of the memory according to the called function information released the time. The method and device for positioning memory repeated release is simple to operate and short in time consumption, but also can rapidly position memory repeated release after the memory repeated release is detected.

Description

Internal memory is repeated to discharge the method and apparatus positioning
Technical field
The present invention relates to program development field, particularly internal memory is repeated to discharge the method and apparatus positioning.
Background technology
Current IT industry, in code development, one of use is exactly application and the release of internal memory the most frequently.After internal memory application,, other local releases, there is again the situation that again discharges this internal memory, will duplicate release same internal memory twice, cause occurring abnormal.Internal memory repeats a great problem that release And Spread of Solute is puzzlement developer orientation problem always, occurs often needing after situation that internal memory repeats to discharge developer to spend a large amount of time and removes to search internal memory and repeat the place discharging, not only time-consuming but also effort.
Operating system generally internally deposits into row by garbage reclamation algorithm and reclaims.Garbage reclamation thread the system free time from the root collection of system, locate all internal memories that using, and by the Memory recycle not used in total memory pool, although can realize the Memory recycle of asynchronous non-precision, but because garbage reclamation thread operation is limited to the busy degree of system, cannot thoroughly solve Memory Leaks.
Existingly internal memory is repeated to discharge the solution that positions mainly contain: when application business internal memory, apply for the associated internal memory relevant to business internal memory; Before discharging business internal memory or simultaneously, obtain the address of associated internal memory; Detect and whether discharge for repeating, discharge if repeat, current running environment is recorded to designated recorder district, and the content of associated internal memory is dumped to designated recorder district, by analyzing the record in designated recorder district, repeat to discharge location, if not repeating release, current running environment is recorded in associated internal memory.
Easily find out, above-mentioned solution must be applied for associated internal memory, and the content of associated internal memory is dumped to designated recorder district, by analyzing the record in designated recorder district, could locate the place of repeating release.It is complicated operation not only, and lacks accuracy and specifics.
Summary of the invention
The object of this invention is to provide and a kind of internal memory is repeated to discharge the method and apparatus that positions, can export internal memory and repeat the concrete function and the code line that discharge, be convenient to quick location.
According to an aspect of the present invention, provide a kind of and discharged for internal memory is repeated the method positioning, it is characterized in that, comprised the following steps:
When application internal memory, the expansion area of applying for pre-sizing in internal memory, for preserving internal memory header information, described internal memory header information comprises the head identification information for confirming internal memory application and release conditions;
Described head identification information is initialized as to the first mark, preserves the function information of calling application internal memory;
Before releasing memory, detect the head identification information of this internal memory;
If described head identification information is the 3rd mark that is different from described the first mark, be defined as repeating discharging, export the locating information that repeats release of this internal memory according to the function information of calling this release.
Preferably, described method also comprises:
If described head identification information is described the first mark, be defined as discharging first, described head identification information is set to described the 3rd mark, preserves the function information of calling releasing memory, carries out internal memory and discharges.
Preferably, described preservation is called and is applied for that the function information of internal memory comprises:
Preservation is called the function address of application internal memory and corresponding line number in code.
Preferably, described internal memory header information also comprises: the actual application size of internal memory, call function address and the line number of application internal memory, and call function address and the line number of releasing memory; Described head identification information is also for confirming to apply for the reference position of internal memory, and described head identification information is initialized as to the first mark, comprising: described head identification information is initialized as to a special number.
Preferably, the function information that described basis is called this release is exported the locating information that discharges of repeating of this internal memory, comprise: will call the function name of this release and corresponding line number in code, and call first the function name that discharges and in code corresponding line number print demonstration, and forbid this release; Wherein, described function name is formed by the function address translation in function information.
Preferably, described expansion area is also for preserving internal memory trailer information, described internal memory trailer information comprises: for confirming the afterbody identification information of the end position of applying for internal memory, in the time of application internal memory, except described head identification information is initialized as to the first mark, also described afterbody identification information is initialized as to the second mark, and the internal memory of application is joined in internal memory chained list; Described execution internal memory discharges and comprises:
Afterbody identification information is set to be different from the 4th mark of the second mark, represents the d/d end of internal memory, and the internal memory of release is deleted from internal memory chained list.
According to a further aspect in the invention, provide a kind of and discharged for internal memory is repeated the device positioning, it is characterized in that, comprised with lower module:
Internal memory application module, in the time applying for internal memory, the expansion area of applying for pre-sizing in internal memory, for preserving internal memory header information, described internal memory header information comprises the head identification information for confirming internal memory application and release conditions;
Memory information initialization module, for described head identification information is initialized as to the first mark, preserves the function information of calling application internal memory;
Discharge detection module, for before releasing memory, detect the head identification information of this internal memory;
Repeat to discharge processing module, for being, while being different from the 3rd mark of described the first mark, to be defined as repeating discharging at described head identification information, export the locating information that repeats release of this internal memory according to the function information of calling this release.
Preferably, also comprise and discharge first processing module, at described head identification information being described first when mark, be defined as discharging first, described head identification information is set to described the 3rd mark, preserves the function information of calling releasing memory, carries out internal memory and discharges.
Preferably, the function information of application internal memory is called in described preservation, comprising:
Preservation is called the function address of application internal memory and corresponding line number in code.
Preferably, the function information that described basis is called this release is exported the locating information that discharges of repeating of this internal memory, comprising:
By call the function name of this release and in code corresponding line number, and call the function name that discharges first and in code corresponding line number print demonstration, and forbid this release.
By adopting technical solution of the present invention, have the following advantages, not only simple to operate, consuming time short, and detect after internal memory repeats to discharge and can immediately export.In addition, detection efficiency is high, can directly locate the function and the code place line number that go wrong.
Brief description of the drawings
Accompanying drawing described herein is used to provide a further understanding of the present invention, forms the application's a part, and schematic description and description of the present invention is used for explaining the present invention, does not form undue restriction of the present invention.Wherein:
Fig. 1 has shown the process flow diagram that according to the embodiment of the present invention, internal memory is repeated to discharge the method positioning.
Fig. 2 has shown according to the embodiment of the present invention for internal memory being repeated to discharge the block diagram of the device positioning.
Embodiment
For making the object, technical solutions and advantages of the present invention more cheer and bright, below in conjunction with embodiment and with reference to accompanying drawing, the present invention is described in more detail.It should be noted that, the feature in embodiment and embodiment in the application can combine mutually.Describe below with reference to the accompanying drawings and in conjunction with the embodiments the present invention in detail.
Fig. 1 has shown, according to the embodiment of the present invention, internal memory has been repeated to discharge the process flow diagram of the method that positions.
As shown in Figure 1, provided by the inventionly internal memory is repeated to discharge the method that positions detecting function and the code place line number that after internal memory repeats to discharge, can directly show problem, the method comprises:
First, in the time of application internal memory, additionally apply for that a region of memory is as expansion area, for preserving internal memory header information, described internal memory header information comprises the head identification information for confirming internal memory application and release conditions.
Wherein internal memory header information comprises: head identification information (for confirming to apply for reference position and the application release conditions of internal memory), remove the actual application size of internal memory end to end, call the function address of application internal memory and in information such as line number corresponding to code, discharge the function address of this internal memory and the information such as line number of correspondence in code.
Described head identification information is initialized as to the first mark, preserves the function information of calling application internal memory.
Particularly, after application internal memory, head identification information described above is set to special number, is used for representing the beginning that internal memory is used; The line number in function address and the corresponding code thereof of applying for internal memory is called in preservation.
Before releasing memory, detect the head identification information of this internal memory.
If described head identification information is the 3rd mark that is different from described the first mark and label, be defined as repeating discharging, export the locating information that repeats release of this internal memory according to the function information of calling this release.
If head identification information is the d/d mark of internal memory, it is another special number, think that this internal memory generation internal memory repeats to discharge, this internal memory of print prompt repeats to discharge at once, the function name that discharged the last time (first) of preserving in corresponding line number and internal memory head by the function name of this release (can translate into function name by function address) and in code and in code corresponding line number show, and forbid releasing operation.
In addition, if described head identification information is described the first mark, be defined as discharging first, described head identification information is set to described the 3rd mark, preserves the function information of calling releasing memory, carries out internal memory and discharges.
Particularly, before discharging first this internal memory, head identification information described above is set to another special number, is used for representing the d/d beginning of internal memory; The line number in function address and the corresponding code thereof of releasing memory is called in preservation; And afterbody identification information is also set to another special number, be used for representing the d/d end of internal memory;
Preferably, described expansion area is also for preserving internal memory trailer information, described internal memory trailer information comprises: for confirming the afterbody identification information of the end position of applying for internal memory, in the time of application internal memory, except described head identification information is initialized as to the first mark, also described afterbody identification information is initialized as to the second mark, and the internal memory of application is joined in internal memory chained list;
Particularly, be set to special number by afterbody identification information described above, be used for representing the end that internal memory is used, and the internal memory of application is joined in internal memory chained list;
Finally, the process that described execution internal memory discharges comprises: afterbody identification information is set to be different from the 4th mark of the second mark, represents the d/d end of internal memory, and the internal memory of release is deleted from internal memory chained list, completes release.
It will be appreciated by those skilled in the art that the applied chained list type of the present invention can need to select depending on concrete data access, include but not limited to single-track link table, doubly linked list, multidimensional chained list and circular linked list etc.
Wherein, releasing memory may, for first or repeat to discharge, for distinguishing, only need to detect the head identification information of this internal memory.As head identification information be internal memory by usage flag, i.e. original special number, thinks that this internal memory is normal, do not belong to repeat discharge, can carry out releasing operation;
Thus, user by this demonstration information, can orient immediately internal memory and repeat the concrete function and the position that discharge, as update routine code to avoid the important evidence of memory overflow.
For further setting forth the present invention, below will, taking concrete applied environment and parameter as example, specifically describe the present invention location and repeat the method flow discharging.
Call partition function and carry out Memory Allocation, specify application size; As the char*p=malloc in C language (size), wherein malloc is partition function, and size is the size of distributing, and p is the first address that returns to memory block.In the time of application internal memory, additionally apply for a memory field, be called expansion area, for preserving the file header trailer information of internal memory, the size of expansion area is enough to the file header trailer information of stored memory.
Internal memory header information comprises following information: head identification information, actual function address and line number, the function address that discharges this internal memory and the line number of applying for big or small size, calling application internal memory of internal memory.Wherein internal memory trailer information comprises: afterbody identification information, and for confirming to apply for the end position of internal memory.
Head identification information described above is set to " 00 ", is used for representing that internal memory is used but is not released.The address of function address (supposing function name function1() that application internal memory is called in preservation is 0x00000001) and corresponding code in line number (being assumed to be LINE:10021); And the internal memory of application is joined in internal memory chained list; Afterbody identification information described above is also set to special number " 01 ", is used for representing the end that internal memory is used.
Before discharging first this internal memory, first can detect that the head identification information of this internal memory is " 00 ", expression can discharge, and first head identification information described above is set to " 10 ", is used for representing the d/d beginning of internal memory; The line number LINE:10021 in function address 0x00000001 and the corresponding code thereof of releasing memory is called in preservation; And afterbody identification information is also set to another special number " 11 ", be used for representing the d/d end of internal memory.Then can call and discharge function f ree, specify and discharge piece first address, according to this first address, the internal memory of release be extractd from internal memory chained list, complete release.
If after this memory block is released, another function f unction2() and corresponding lines of code LINE:10216 this memory block is discharged for the second time, the head identification information that this internal memory first can be detected has been " 10 ", determine that belonging to internal memory repeats to discharge, this internal memory of print prompt repeats to discharge at once, by the function name function2(of this release) and corresponding lines of code LINE:10216 and internal memory head in last time of preserving the function name function1(that discharges) and corresponding lines of code LINE:10021 show, and forbid releasing operation.
Fig. 2 has shown according to the embodiment of the present invention for internal memory being repeated to discharge the block diagram of the device 200 positioning.According to a further aspect in the invention, provide a kind of for internal memory being repeated to discharge the device positioning.This device 200 comprises with lower module:
Internal memory application module, in the time applying for internal memory, the expansion area of applying for pre-sizing in internal memory, for preserving internal memory header information, described internal memory header information comprises the head identification information for confirming internal memory application and release conditions;
Memory information initialization module, for described head identification information is initialized as to the first mark, preserves the function information of calling application internal memory;
Discharge detection module, for before releasing memory, detect the head identification information of this internal memory;
Repeat to discharge processing module, for being, while being different from the 3rd mark of described the first mark, to be defined as repeating discharging at described head identification information, export the locating information that repeats release of this internal memory according to the function information of calling this release.
Preferably, also comprise and discharge first processing module, at described head identification information being described first when mark, be defined as discharging first, described head identification information is set to described the 3rd mark, preserves the function information of calling releasing memory, carries out internal memory and discharges.
Preferably, described preservation is called and is applied for that the function information of internal memory further comprises:
Preservation is called the function address of application internal memory and corresponding line number in code.
Preferably, the locating information that repeats to discharge that the function information that wherein said basis is called this release is exported this internal memory further comprises:
By call the function name of this release and in code corresponding line number, and call the function name that discharges first and in code corresponding line number print demonstration, and forbid this release.
In sum, utilize and of the present invention internal memory repeated to discharge the method and apparatus that positions, detect after internal memory repeats to discharge, can locate fast the function that goes wrong and in code the line number at corresponding place, simple to operate, consuming time short and detection efficiency is high.Therefore not only improve the utilization factor of resource, can also improve user's experience.
Obviously, it should be appreciated by those skilled in the art, above-mentioned of the present invention each module or each step can realize with general computing system, they can concentrate on single computing system, or be distributed on the network that multiple computing systems form, alternatively, they can be realized with the executable program code of computing system, thereby, they can be stored in storage system and be carried out by computing system.Like this, the present invention is not restricted to any specific hardware and software combination.
Should be understood that, above-mentioned embodiment of the present invention is only for exemplary illustration or explain principle of the present invention, and is not construed as limiting the invention.Therefore any amendment of, making, be equal to replacement, improvement etc., within protection scope of the present invention all should be included in without departing from the spirit and scope of the present invention in the situation that.In addition, claims of the present invention are intended to contain whole variations and the modification in the equivalents that falls into claims scope and border or this scope and border.

Claims (10)

1. discharge for internal memory is repeated the method positioning, it is characterized in that, comprise the following steps:
When application internal memory, the expansion area of applying for pre-sizing in internal memory, for preserving internal memory header information, described internal memory header information comprises the head identification information for confirming internal memory application and release conditions;
Described head identification information is initialized as to the first mark, preserves the function information of calling application internal memory;
Before releasing memory, detect the head identification information of this internal memory;
If described head identification information is the 3rd mark that is different from described the first mark, be defined as repeating discharging, export the locating information that repeats release of this internal memory according to the function information of calling this release.
2. method according to claim 1, is characterized in that, described method also comprises:
If described head identification information is described the first mark, be defined as discharging first, described head identification information is set to described the 3rd mark, preserves the function information of calling releasing memory, carries out internal memory and discharges.
3. method according to claim 1, is characterized in that, the function information of application internal memory is called in described preservation, comprising:
Preservation is called the function address of application internal memory and corresponding line number in code.
4. method according to claim 1 and 2, is characterized in that, described internal memory header information also comprises: the actual application size of internal memory, call function address and the line number of application internal memory, and call function address and the line number of releasing memory; Described head identification information is also for confirming to apply for the reference position of internal memory, and described head identification information is initialized as to the first mark, comprising: described head identification information is initialized as to a special number.
5. method according to claim 3, it is characterized in that, the function information that described basis is called this release is exported the locating information that discharges of repeating of this internal memory, comprise: will call the function name of this release and corresponding line number in code, and call first the function name that discharges and in code corresponding line number print demonstration, and forbid this release;
Wherein, described function name is formed by the function address translation in function information.
6. method according to claim 2, it is characterized in that, described expansion area is also for preserving internal memory trailer information, described internal memory trailer information comprises: for confirming the afterbody identification information of the end position of applying for internal memory, in the time of application internal memory, except described head identification information is initialized as to the first mark, also described afterbody identification information is initialized as to the second mark, and the internal memory of application is joined in internal memory chained list;
Described execution internal memory discharges and comprises: afterbody identification information is set to be different from the 4th mark of the second mark, represents the d/d end of internal memory, and the internal memory of release is deleted from internal memory chained list.
7. discharge for internal memory is repeated the device positioning, it is characterized in that, comprise with lower module:
Internal memory application module, in the time applying for internal memory, the expansion area of applying for pre-sizing in internal memory, for preserving internal memory header information, described internal memory header information comprises the head identification information for confirming internal memory application and release conditions;
Memory information initialization module, for described head identification information is initialized as to the first mark, preserves the function information of calling application internal memory;
Discharge detection module, for before releasing memory, detect the head identification information of this internal memory;
Repeat to discharge processing module, for being, while being different from the 3rd mark of described the first mark, to be defined as repeating discharging at described head identification information, export the locating information that repeats release of this internal memory according to the function information of calling this release.
8. device according to claim 7, it is characterized in that, also comprise and discharge first processing module, be used in the time that described head identification information is described the first mark, be defined as discharging first, described head identification information is set to described the 3rd mark, preserves the function information of calling releasing memory, carries out internal memory and discharges.
9. device according to claim 7, is characterized in that, the function information of application internal memory is called in described preservation, comprising:
Preservation is called the function address of application internal memory and corresponding line number in code.
10. device according to claim 9, is characterized in that, the function information that described basis is called this release is exported the locating information that discharges of repeating of this internal memory, comprising:
By call the function name of this release and in code corresponding line number, and call the function name that discharges first and in code corresponding line number print demonstration, and forbid this release.
CN201410089086.XA 2014-03-12 2014-03-12 Method and device for positioning memory repeated release Pending CN103914355A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410089086.XA CN103914355A (en) 2014-03-12 2014-03-12 Method and device for positioning memory repeated release

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410089086.XA CN103914355A (en) 2014-03-12 2014-03-12 Method and device for positioning memory repeated release

Publications (1)

Publication Number Publication Date
CN103914355A true CN103914355A (en) 2014-07-09

Family

ID=51040058

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410089086.XA Pending CN103914355A (en) 2014-03-12 2014-03-12 Method and device for positioning memory repeated release

Country Status (1)

Country Link
CN (1) CN103914355A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105183542A (en) * 2015-08-13 2015-12-23 上海斐讯数据通信技术有限公司 Memory management method and system
CN106155917A (en) * 2015-04-28 2016-11-23 北京信威通信技术股份有限公司 EMS memory management process and device
CN107220182A (en) * 2017-06-20 2017-09-29 中国电子科技集团公司第五十四研究所 A kind of internal memory repeats release error-detecting method
CN107451054A (en) * 2017-07-26 2017-12-08 武汉虹信通信技术有限责任公司 A kind of memory pool adjustment method being used in linux environment
CN108509273A (en) * 2018-03-22 2018-09-07 杭州迪普科技股份有限公司 A kind of internal memory processing method and device
CN109086205A (en) * 2018-07-25 2018-12-25 郑州云海信息技术有限公司 The EMS memory error adjustment method and device in pond based on memory
CN109739645A (en) * 2018-12-25 2019-05-10 新华三技术有限公司成都分公司 EMS memory management process, device and storage medium
CN111324450A (en) * 2017-01-25 2020-06-23 安科讯(福建)科技有限公司 Method and system for memory pool leakage based on LTE protocol stack
CN113485846A (en) * 2021-08-02 2021-10-08 北京字节跳动网络技术有限公司 Memory processing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030163661A1 (en) * 2002-02-25 2003-08-28 International Business Machines Corporation System and method for tracking memory leaks
US20040172513A1 (en) * 2003-03-01 2004-09-02 International Business Machines Corporation System and method for detecting memory management programming errors
CN1786926A (en) * 2004-12-07 2006-06-14 华为技术有限公司 Method for using buffer memory area in processor
CN1963788A (en) * 2005-11-08 2007-05-16 中兴通讯股份有限公司 A managing method for EMS memory
CN101145128A (en) * 2007-06-13 2008-03-19 中兴通讯股份有限公司 Method for detecting RAM leakage
CN102736974A (en) * 2011-04-13 2012-10-17 鸿富锦精密工业(深圳)有限公司 Program debugging system and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030163661A1 (en) * 2002-02-25 2003-08-28 International Business Machines Corporation System and method for tracking memory leaks
US20040172513A1 (en) * 2003-03-01 2004-09-02 International Business Machines Corporation System and method for detecting memory management programming errors
CN1786926A (en) * 2004-12-07 2006-06-14 华为技术有限公司 Method for using buffer memory area in processor
CN1963788A (en) * 2005-11-08 2007-05-16 中兴通讯股份有限公司 A managing method for EMS memory
CN101145128A (en) * 2007-06-13 2008-03-19 中兴通讯股份有限公司 Method for detecting RAM leakage
CN102736974A (en) * 2011-04-13 2012-10-17 鸿富锦精密工业(深圳)有限公司 Program debugging system and method

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106155917A (en) * 2015-04-28 2016-11-23 北京信威通信技术股份有限公司 EMS memory management process and device
CN105183542A (en) * 2015-08-13 2015-12-23 上海斐讯数据通信技术有限公司 Memory management method and system
CN105183542B (en) * 2015-08-13 2019-07-12 上海斐讯数据通信技术有限公司 A kind of EMS memory management process and system
CN111324450A (en) * 2017-01-25 2020-06-23 安科讯(福建)科技有限公司 Method and system for memory pool leakage based on LTE protocol stack
CN111324450B (en) * 2017-01-25 2023-04-28 安科讯(福建)科技有限公司 Method and system for memory pool leakage based on LTE protocol stack
CN107220182A (en) * 2017-06-20 2017-09-29 中国电子科技集团公司第五十四研究所 A kind of internal memory repeats release error-detecting method
CN107220182B (en) * 2017-06-20 2019-07-26 中国电子科技集团公司第五十四研究所 A kind of memory repetition release error-detecting method
CN107451054A (en) * 2017-07-26 2017-12-08 武汉虹信通信技术有限责任公司 A kind of memory pool adjustment method being used in linux environment
CN108509273A (en) * 2018-03-22 2018-09-07 杭州迪普科技股份有限公司 A kind of internal memory processing method and device
CN109086205A (en) * 2018-07-25 2018-12-25 郑州云海信息技术有限公司 The EMS memory error adjustment method and device in pond based on memory
CN109739645A (en) * 2018-12-25 2019-05-10 新华三技术有限公司成都分公司 EMS memory management process, device and storage medium
CN113485846A (en) * 2021-08-02 2021-10-08 北京字节跳动网络技术有限公司 Memory processing method and device

Similar Documents

Publication Publication Date Title
CN103914355A (en) Method and device for positioning memory repeated release
US6523141B1 (en) Method and apparatus for post-mortem kernel memory leak detection
US20180046585A1 (en) Timely address space randomization
US8995070B2 (en) Garbage collection based on functional block size
US9529692B2 (en) Memory management tools
US5842019A (en) Method and system for dynamically detecting leaked memory space in a computer program
CN101599046B (en) Method and device for detecting memory
CN107807839B (en) Method and device for modifying memory data of virtual machine and electronic equipment
CN101593152B (en) Method and device for detecting memory leakage of mobile terminal
CN106919454B (en) Memory pool problem positioning method and system based on LTE protocol stack
CN102831068A (en) Memory operating record processing method and device
EP3462324B1 (en) Pointers in a memory managed system
US20170351606A1 (en) Persistent memory garbage collection
BRPI0902504A2 (en) thread ordering techniques
US9003240B2 (en) Blackbox memory monitoring with a calling context memory map and semantic extraction
CN104809039B (en) Internal-memory detection method based on physical memory allocation map
CN107133144B (en) Memory monitoring device and method for dynamically monitoring use errors of heap memory
JP2008276763A (en) Memory error detection method
US10853224B2 (en) Indexing and searching a time-travel trace for arbitrary length/arbitrary alignment values
CN100392606C (en) Method for leaking memory of positioning virtual operation system
CN113157347A (en) Automatic probe deployment method, electronic device and storage medium
US9274946B2 (en) Pre-leak detection scan to identify non-pointer data to be excluded from a leak detection scan
US20120284478A1 (en) Managing storage extents and the obtaining of storage blocks within the extents
US9778969B2 (en) Automatic memory leak detection
CN109472135A (en) A kind of method, apparatus and storage medium of detection procedure injection

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140709