cloudstack/vmware-base/src/com/cloud/hypervisor/vmware/util
Rohit Yadav 8d14e8e8b5 Merge pull request #1729 from shapeblue/vmware-memleak-fix
CLOUDSTACK-9564: Fix memory leaks in VmwareContextPoolIn a recent management server crash, it was found that the largest contributor
to memory leak was in VmwareContextPool where a registry is held (arraylist)
that grows indefinitely. The list itself is not used anywhere or consumed. There
exists a hashmap (pool) that returns a list of contexts for existing poolkey
(address/username) that is used instead.

This fixes the issue by removing the arraylist registry, and limiting the
length of the context list for a given poolkey.

@blueorangutan package

* pr/1729:
  CLOUDSTACK-9564: Fix memory leaks in VmwareContextPool

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2016-12-05 15:15:58 +05:30
..
VmwareClient.java CLOUDSTACK-8820: Updated the code for vCenter6 data center support. 2015-09-14 15:27:52 +05:30
VmwareContext.java CLOUDSTACK-9564: Fix memory leaks in VmwareContextPool 2016-12-01 15:27:29 +05:30
VmwareContextPool.java CLOUDSTACK-9564: Fix memory leaks in VmwareContextPool 2016-12-01 15:27:29 +05:30
VmwareGuestOsMapper.java CLOUDSTACK-5922:Incorrect handling RHEL guests for 5.5 to 5.9 2014-03-26 16:42:44 -07:00
VmwareHelper.java CLOUDSTACK-8854: Apple Mac OS/X VM get created without USB controller in ESXi hypervisors 2016-12-01 14:32:18 +05:30