×

Detection and remediation of memory leaks

  • US 10,289,347 B2
  • Filed: 10/26/2016
  • Issued: 05/14/2019
  • Est. Priority Date: 04/26/2016
  • Status: Active Grant
First Claim
Patent Images

1. A system for detecting and remediating memory leaks associated with an application environment, the system comprising:

  • a memory configured to store data and one or more processor-executable routines; and

    a processor configured to communicate with the memory and to execute the routines stored therein, wherein the routines, when executed, cause the system to;

    monitor allocations of memory from a managed memory space to respective operations to produce memory allocation data, wherein the managed memory space is provisioned to the application environment;

    monitor deallocations of memory to at least some of the respective operations to produce memory deallocation data;

    determine that samples of memory allocation data and memory deallocation data observed over a time interval indicate a trend in memory leakage or a trend change in memory leakage;

    determine a projection of future memory usage by operations associated with the trend using binned sets of the memory allocation data and the memory deallocation data;

    determine a predicted time at which memory usage by the operations associated with the trend is expected to exceed a threshold using the projection of future memory usage; and

    perform a remediation action before the predicted time, wherein the remediation action comprises;

    terminating an executing operation within the application environment in response to a determination that the projection of future memory usage comprises a fast memory leak, wherein the executing operation is the oldest executing operation or the executing operation is using the most amount of memory in the application environment;

    orterminating an executing operation within the application environment in response to a determination that the projection of future memory usage comprises a slow memory leak, wherein the executing operation executes throughout the trend.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×