发明授权
US08886866B2 Optimizing memory management of an application running on a virtual machine
有权
优化在虚拟机上运行的应用程序的内存管理
- 专利标题: Optimizing memory management of an application running on a virtual machine
- 专利标题(中): 优化在虚拟机上运行的应用程序的内存管理
-
申请号: US13290461申请日: 2011-11-07
-
公开(公告)号: US08886866B2公开(公告)日: 2014-11-11
- 发明人: Mauro Arcese , Stefano Sidoti
- 申请人: Mauro Arcese , Stefano Sidoti
- 申请人地址: US NY Armonk
- 专利权人: International Business Machines Corporation
- 当前专利权人: International Business Machines Corporation
- 当前专利权人地址: US NY Armonk
- 代理机构: Winstead, P.C.
- 优先权: EP10193128 20101130
- 主分类号: G06F12/00
- IPC分类号: G06F12/00 ; G06F9/50
摘要:
A method, system and computer program product for optimizing memory usage of an application running on a virtual machine. A virtual machine memory block is pre-allocated and the average memory usage of the virtual machine is periodically computed using statistics collected from the virtual machine through an API. If the memory usage average becomes higher than a maximum threshold, then a recovery mode is entered by releasing the virtual machine memory block and forcing the running application to reduce its processing activity; optionally, a garbage collector cycle can be forced. If the computed memory usage average becomes lower than a minimum threshold value, which is lower than the maximum threshold value, then a normal mode is entered by re-allocating the virtual machine memory block and forcing the running application to resumes its normal processing activity. Optionally, when the virtual machine is idle, a deep garbage collection is forced.
公开/授权文献
信息查询