brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From neykov <...@git.apache.org>
Subject [GitHub] brooklyn-server pull request #384: Fix calculation of currently used memory ...
Date Fri, 14 Oct 2016 09:59:30 GMT
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 <svetoslav.neykov@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.
---

Mime
View raw message