Device and method for determining memory leaks

US9940068B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9940068-B2
Application numberUS-201514966270-A
CountryUS
Kind codeB2
Filing dateDec 11, 2015
Priority dateDec 11, 2015
Publication dateApr 10, 2018
Grant dateApr 10, 2018

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A device and method generates a graphical representation for memory leak detection. The method includes executing a selected application for a time period. The method includes determining a plurality of memory application programming interface (API) functions performed during the execution of the selected application in the time period. Each of the memory API functions request a chunk of a memory of the electronic device at a specified time. The method includes determining select ones of the memory API functions that do not release the respective chunk of the memory in the time period. The method includes generating the graphical representation including the selected memory API functions at the respective specified time for identification of a memory leak of the selected application.

First claim

Opening claim text (preview).

What is claimed is: 1. A method, comprising: executing a selected application for a time period; determining a plurality of memory application programming interface (API) functions performed during the execution of the selected application in the time period, each of the memory API functions requesting a chunk of a memory of the electronic device at a specified time; determining select ones of the memory API functions that do not release the respective chunk of the memory in the time period; determining a respective size of each chunk of the memory requested and not released by each of the memory API functions; and generating a graphical representation including the selected memory API functions at the respective specified time for identification of a memory leak of the selected application, wherein the respective size of each chunk of the memory is included in the graphical representation. 2. The method of claim 1 , further comprising: generating a call tree for each of the selected memory API functions. 3. The method of claim 2 , wherein the call tree includes at least one of a name, a description, and a size for each of the selected memory API functions. 4. The method of claim 2 , wherein the selected memory API functions are filtering to omit first ones of the selected memory API functions at a starting time section of the time period and second ones of the selected memory API functions at an ending time section of time period. 5. The method of claim 1 , further comprising: determining whether the graphical representation includes at least one suspect memory leak. 6. The method of claim 5 , wherein the at least one suspect memory leak corresponds to one of the select memory API functions being included in the graphical representation periodically along the time period. 7. The method of claim 5 , further comprising: indicating a source in a programming code of the selected application corresponding to the at least one suspect memory leak. 8. The method of claim 1 , wherein the graphical representation is a bar graph. 9. A device, comprising: a storage arrangement including a memory in which portions thereof is allocated for use by at least one application; and a processor configured to identify a memory leak, the processor configured to execute a selected application for a time period, the processor configured to determine a plurality of memory application programming interface (API) functions performed during the execution of the selected application in the time period, each of the memory API functions requesting a chunk of the memory at a specified time, the processor configured to determine select ones of the memory API functions that do not release the respective chunk of the memory in the time period, the processor configured to determine a respective size of each chunk of the memory requested and not released by each of the memory API functions, the processor configured to generate a graphical representation including the selected memory API functions at the respective specified time for identification of a memory leak of the selected application, wherein the respective size of each chunk of the memory is included in the graphical representation. 10. The device of claim 9 , wherein the processor is further configured to generate a call tree for each of the selected memory API functions. 11. The device of claim 10 , wherein the call tree includes at least one of a name, a description, and a size for each of the selected memory API functions. 12. The device of claim 10 , wherein the selected memory API functions are filtering to omit first ones of the selected memory API functions at a starting time section of the time period and second ones of the selected memory API functions at an ending time section of time period. 13. The device of claim 9 , wherein the processor is further configured to determine whether the graphical representation includes at least one suspect memory leak. 14. The device of claim 13 , wherein the at least one suspect memory leak corresponds to one of the select memory API functions being included in the graphical representation periodically along the time period. 15. The device of claim 13 , wherein the processor is further configured to indicate a source in a programming code of the selected application corresponding to the at least one suspect memory leak. 16. A non-transitory computer readable storage medium with an executable program stored thereon, wherein the program instructs a microprocessor to perform operations comprising: executing a selected application for a time period; determining a plurality of memory application programming interface (API) functions performed during the execution of the selected application in the time period, each of the memory API functions requesting a chunk of a memory of an electronic device at a specified time; determining select ones of the memory API functions that do not release the respective chunk of the memory in the time period; determining a respective size of each chunk of the memory requested and not released by each of the memory API functions; and generating a graphical representation including the selected memory API functions at the respective specified time for identification of a memory leak of the selected application, wherein the respective size of each chunk of the memory is included in the graphical representation.

Assignees

Inventors

Classifications

  • G06F11/00Primary

    Error detection; Error correction; Monitoring (error detection, correction or monitoring in information storage based on relative movement between record carrier and transducer G11B20/18; monitoring, i.e. supervising the progress of recording or reproducing G11B27/36; in static stores G11C29/00) · CPC title

  • Single storage device · CPC title

  • in relation to availability · CPC title

  • G06F3/0653Primary

    Monitoring storage devices or systems · CPC title

  • Prevention of errors by analysis, debugging or testing of software · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9940068B2 cover?
A device and method generates a graphical representation for memory leak detection. The method includes executing a selected application for a time period. The method includes determining a plurality of memory application programming interface (API) functions performed during the execution of the selected application in the time period. Each of the memory API functions request a chunk of a memo…
Who is the assignee on this patent?
Wind River Systems Inc
What technology area does this patent fall under?
Primary CPC classification G06F11/00. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Apr 10 2018 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 2 related publications on this page (citations in our corpus or others sharing the same primary CPC).