ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stanilovsky Evgeny (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (IGNITE-6062) IllegalArgumentException thrown while getHeapMemoryUsage()
Date Fri, 15 Sep 2017 10:58:00 GMT

     [ https://issues.apache.org/jira/browse/IGNITE-6062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Stanilovsky Evgeny resolved IGNITE-6062.
----------------------------------------
    Resolution: Duplicate

> IllegalArgumentException thrown while getHeapMemoryUsage()
> ----------------------------------------------------------
>
>                 Key: IGNITE-6062
>                 URL: https://issues.apache.org/jira/browse/IGNITE-6062
>             Project: Ignite
>          Issue Type: Bug
>          Components: general
>    Affects Versions: 1.8
>            Reporter: Alexander Belyak
>             Fix For: 1.8
>
>
> In org.apache.ignite.internal.managers.discovery.GridDiscoveryManager
> we can't just use getHeapMemoryUsage():
> private static final MemoryMXBean mem = ManagementFactory.getMemoryMXBean();
> mem.getHeapMemoryUsage().getCommitted();
> because of 
> https://bugs.openjdk.java.net/browse/JDK-6870537
> It should be somehow wrapped to catch IllegalArgumentException.
> Also we need to test all codebase and use wrapped version of getHeapMemoryUsage() method.
> In version 2.1 its already fixed.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message