×

Stateless detection of out-of-memory events in virtual machines

  • US 10,248,561 B2
  • Filed: 06/18/2015
  • Issued: 04/02/2019
  • Est. Priority Date: 06/18/2015
  • Status: Active Grant
First Claim
Patent Images

1. A method of modifying memory allocations of virtual machines executing within a computing system, comprising:

  • executing one or more virtual machines, including a first virtual machine, on a computing system, wherein each said virtual machine is allocated an amount of heap memory from the computer system,performing a plurality of garbage collection processes on the computing system during execution of the first virtual machine on the computer system;

    determining, by the computing system, using one or more processors of the computing system, one or more execution metrics for each of the plurality of garbage collection processes performed, the execution metrics including an execution duration for each of the plurality of garbage collection process,using a sequential-analysis technique to analyze, by the computing system, the execution metrics for each of the plurality of garbage collection processes for stateless detection of a memory usage trend for the first virtual machine, based on the execution durations for the plurality of garbage collection processes; and

    in response to detecting an upward memory usage trend for the first virtual machine based on the analysis of the execution durations for the plurality of garbage collection processes, modifying, by the computing system, the amount of heap memory allocated to the first virtual machine.

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