You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/11/01 09:08:58 UTC
[jira] [Commented] (CLOUDSTACK-9564) Fix memory leak in
VmwareContextPool
[ https://issues.apache.org/jira/browse/CLOUDSTACK-9564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15624865#comment-15624865 ]
ASF GitHub Bot commented on CLOUDSTACK-9564:
--------------------------------------------
Github user murali-reddy commented on the issue:
https://github.com/apache/cloudstack/pull/1729
LGTM from code change.
> Fix memory leak in VmwareContextPool
> ------------------------------------
>
> Key: CLOUDSTACK-9564
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9564
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the default.)
> Reporter: Rohit Yadav
> Assignee: Rohit Yadav
>
> In 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. The fix would be to get rid of the registry and limit the hashmap context list length for any poolkey.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)