发明名称 A Method, Computer Program and System to Optimize Memory Management of An Application Running on a Virtual Machine
摘要 A method, computer program and system for optimizing memory usage of an application running on a virtual machine providing a monitoring API to communicate with the virtual machine and including a garbage collector said method comprising steps for pre-allocating virtual machine memory block and periodically computing the average memory usage of the virtual machine using statistics collected from the virtual machine through the API. If the memory usage average becomes higher than a maximum threshold (Th2), entering into a recovery mode 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 (Th1) which is lower than the maximum threshold value, entering into a normal mode 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, forcing a deep garbage collection.
申请公布号 GB2500153(A) 申请公布日期 2013.09.11
申请号 GB20130011605 申请日期 2011.11.03
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 MAURO ARCESE;STEFANO SIDOTI
分类号 G06F9/50 主分类号 G06F9/50
代理机构 代理人
主权项
地址