×

Correlation of thread intensity and heap usage to identify heap-hoarding stack traces

  • US 10,534,643 B2
  • Filed: 05/05/2017
  • Issued: 01/14/2020
  • Est. Priority Date: 05/09/2016
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method comprising:

  • determining, by one or more computer systems, a length of time when heap usage by one or more processes exceeds a threshold, wherein the length of time spans at least one period, wherein the at least one period is divided into a plurality of intervals, and wherein each of the plurality of intervals is mapped to a season of a plurality of seasons;

    determining heap information of the one or more processes during the length of time, the heap information comprising heap usage information and a heap usage seasonal factor for each of the plurality of intervals in the length of time, wherein the heap usage seasonal factor for each of the plurality of intervals corresponds to a smoothed heap usage seasonal factor associated with the season to which each of the plurality of intervals is mapped;

    determining thread information of the one or more processes during the length of time, wherein determining the thread information comprises determining one or more classes of threads and wherein the thread information comprises, for each of the one or more classes of threads, thread intensity information and a thread intensity seasonal factor for each of the plurality of intervals, wherein the thread intensity seasonal factor for each of the plurality of intervals and for each of the one or more classes of threads corresponds to a smoothed thread intensity seasonal factor associated with the season to which each of the plurality of intervals is mapped;

    correlating the heap information with the thread information to identify one or more lines of code of the one or more processes that correspond to the heap usage exceeding the threshold; and

    responsive to identifying the one or more lines of code, initiating one or more actions associated with the one or more lines of code.

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