×

OPTIMIZING MEMORY MANAGEMENT OF AN APPLICATION RUNNING ON A VIRTUAL MACHINE

  • US 20120137101A1
  • Filed: 11/07/2011
  • Published: 05/31/2012
  • Est. Priority Date: 11/30/2010
  • Status: Active Grant
First Claim
Patent Images

1. A method for optimizing memory usage of an application running on a virtual machine, said virtual machine providing a monitoring application programming interface (API) to communicate with said virtual machine and said virtual machine including a garbage collector, the method comprising:

  • self-allocating a virtual machine memory block;

    periodically collecting and storing virtual machine memory usage statistics;

    periodically computing an average virtual machine memory usage from the memory usage statistics in a time window;

    entering into a recovery mode by releasing the virtual machine memory block and forcing the running application to reduce its processing activity in response to the computed virtual machine memory usage average becoming higher than a first threshold; and

    entering, by a processor, into a normal mode by re-self-allocating the virtual machine memory block and forcing the running application to resume its normal processing activity in response to the computed memory usage average becoming lower than a second threshold.

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