You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by neykov <gi...@git.apache.org> on 2016/10/14 09:59:30 UTC
[GitHub] brooklyn-server pull request #384: Fix calculation of currently used memory ...
GitHub user neykov opened a pull request:
https://github.com/apache/brooklyn-server/pull/384
Fix calculation of currently used memory by the JVM
Before the change I was getting readings like `brooklyn gc (after) - using 2.59 GB / 2.86 GB (1268 MB real) memory with `-DXmx=3G`. `2.86` is `maxMemory` same as `Xmx`. `1268` is `totalMemory` which is the currently allocated memory by the JVM from the operating system. The used memory can't be more than the `totalMemory`.
Confirmed the new readings by comparing to jconsole.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/neykov/brooklyn-server fix/used-memory
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/brooklyn-server/pull/384.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #384
----
commit ac04bbf145501f4ee0cde5b8160343499ff5b0eb
Author: Svetoslav Neykov <sv...@cloudsoftcorp.com>
Date: 2016-10-14T09:47:27Z
Fix calculation of currently used memory by the JVM
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] brooklyn-server issue #384: Fix calculation of currently used memory by the ...
Posted by sjcorbett <gi...@git.apache.org>.
Github user sjcorbett commented on the issue:
https://github.com/apache/brooklyn-server/pull/384
Looks good. Will merge.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] brooklyn-server pull request #384: Fix calculation of currently used memory ...
Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:
https://github.com/apache/brooklyn-server/pull/384
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---