发明名称 Memory leak detection
摘要 A method and apparatus for memory leak detection is described. The method may include collecting memory usage data for a software application running in a computer system. The method may also include determining from the data that the software application has a memory leak.
申请公布号 US9064048(B2) 申请公布日期 2015.06.23
申请号 US201113030047 申请日期 2011.02.17
申请人 Red Hat, Inc. 发明人 Macík Pavel;Ve{hacek over (c)}e{hacek over (r)}a Martin
分类号 G06F11/00;G06F11/36 主分类号 G06F11/00
代理机构 Lowenstein Sandler LLP 代理人 Lowenstein Sandler LLP
主权项 1. A method comprising: collecting memory usage data, from an operating system of a computer system, for a first software application running in the computer system; generating a model in view of a linear regression analysis of the memory usage data for the first software application running over a period of time; determining a trend in memory usage from the model, wherein the trend indicates memory usage by the first software application running over the period of time; in response to determining the trend in memory usage increases over the period of time: determining from the memory usage data that the first software application has a memory leak; issuing, by a first processing device, a first command to the operating system of the computer system to terminate the first software application in view of the determined memory leak; issuing, by the second processing device, a second command to a software debugging application to debug the first software application in view of the determined memory leak; generating a report comprising at least one of an email message, a text message, a multimedia message, or an instant message comprising an indication of the first software application that is determined to have the memory leak in the computer system; transmitting the report; determining whether at least one other software application is being executed by the operating system; in response to determining that at least one other software application is being executed by the operating system: monitoring the first software application and the at least one other software application; andestablishing a higher priority for execution of the first software application, wherein the higher priority is established after determining the memory leak of the first software application.
地址 Raleigh NC US