flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From StephanEwen <...@git.apache.org>
Subject [GitHub] flink pull request #3276: [FLINK-5718] [core] TaskManagers exit the JVM on f...
Date Wed, 08 Feb 2017 17:59:16 GMT
Github user StephanEwen commented on a diff in the pull request:

    https://github.com/apache/flink/pull/3276#discussion_r100128721
  
    --- Diff: docs/setup/config.md ---
    @@ -86,7 +86,7 @@ The default fraction for managed memory can be adjusted using the `taskmanager.m
     
     - `taskmanager.memory.segment-size`: The size of memory buffers used by the memory manager
and the network stack in bytes (DEFAULT: 32768 (= 32 KiBytes)).
     
    -- `taskmanager.memory.preallocate`: Can be either of `true` or `false`. Specifies whether
task managers should allocate all managed memory when starting up. (DEFAULT: false). When
`taskmanager.memory.off-heap` is set to `true`, then it is advised that this configuration
is also set to `true`.  If this configuration is set to `false` cleaning up of the allocated
offheap memory happens only when the configured JVM parameter MaxDirectMemorySize is reached
by triggering a full GC.
    +- `taskmanager.memory.preallocate`: Can be either of `true` or `false`. Specifies whether
task managers should allocate all managed memory when starting up. (DEFAULT: false). When
`taskmanager.memory.off-heap` is set to `true`, then it is advised that this configuration
is also set to `true`.  If this configuration is set to `false` cleaning up of the allocated
offheap memory happens only when the configured JVM parameter MaxDirectMemorySize is reached
by triggering a full GC. **Note:** For streaming setups, we highly recommend to set this value
to `false` as the core state backends currently do not use the managed memory.
    --- End diff --
    
    That would probably be good


---
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