You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Maximilian Michels (JIRA)" <ji...@apache.org> on 2015/06/17 15:01:00 UTC

[jira] [Created] (FLINK-2235) Local Flink cluster allocates too much memory

Maximilian Michels created FLINK-2235:
-----------------------------------------

             Summary: Local Flink cluster allocates too much memory
                 Key: FLINK-2235
                 URL: https://issues.apache.org/jira/browse/FLINK-2235
             Project: Flink
          Issue Type: Bug
          Components: Local Runtime, TaskManager
    Affects Versions: 0.9
         Environment: Oracle JDK 1.6
Eclipse
            Reporter: Maximilian Michels
            Priority: Minor


When executing a Flink job locally, the task manager gets initialized with an insane amount of memory. After a quick look in the code it seems that the call to {{EnvironmentInformation.getSizeOfFreeHeapMemoryWithDefrag()}} returns a wrong estimate of the heap memory size.

Moreover, the same user switched to Oracle JDK 1.8 and that made the error disappear. So I'm guessing this is some Java 1.6 quirk.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)