主权项 |
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. |