Skip to content

Commit

Permalink
[FLINK-14123][docs] Update release notes to contain warning about OOM
Browse files Browse the repository at this point in the history
This closes apache#9949.
  • Loading branch information
Liupengcheng authored and tillrohrmann committed Oct 21, 2019
1 parent d4615e0 commit b0f693d
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/release-notes/flink-1.8.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,4 +203,11 @@ see
[here](/dev/stream/state/custom_serialization.html#implementing-a-compositetypeserializersnapshot)
for instructions on using `CompositeTypeSerializerSnapshot`.

### Memory management

In Fink 1.8.0 and prior version, the managed memory fraction of taskmanager is controlled by `taskmanager.memory.fraction`,
and with 0.7 as the default value. However, sometimes this will cause OOMs due to the fact that the default value of JVM
parameter `NewRatio` is 2, which means the old generation occupied only 2/3 (0.66) of the heap memory. So if you run into
this case, please manually change this value to a lower value.

{% top %}
7 changes: 7 additions & 0 deletions docs/release-notes/flink-1.8.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,4 +203,11 @@ see
[here](/dev/stream/state/custom_serialization.html#implementing-a-compositetypeserializersnapshot)
for instructions on using `CompositeTypeSerializerSnapshot`.

### Memory management

In Fink 1.8.0 and prior version, the managed memory fraction of taskmanager is controlled by `taskmanager.memory.fraction`,
and with 0.7 as the default value. However, sometimes this will cause OOMs due to the fact that the default value of JVM
parameter `NewRatio` is 2, which means the old generation occupied only 2/3 (0.66) of the heap memory. So if you run into
this case, please manually change this value to a lower value.

{% top %}
10 changes: 10 additions & 0 deletions docs/release-notes/flink-1.9.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,16 @@ have skipped Java 9 support.
Related issues:
- [FLINK-8033: JDK 9 support](https://issues.apache.org/jira/browse/FLINK-8033)

### Memory management

In Fink 1.9.0 and prior version, the managed memory fraction of taskmanager is controlled by `taskmanager.memory.fraction`,
and with 0.7 as the default value. However, sometimes this will cause OOMs due to the fact that the default value of JVM
parameter `NewRatio` is 2, which means the old generation occupied only 2/3 (0.66) of the heap memory. So if you run into
this case, please manually change this value to a lower value.

Related issues:
- [FLINK-14123: Lower the default value of taskmanager.memory.fraction](https://issues.apache.org/jira/browse/FLINK-14123)

## Deprecations and breaking changes

### Scala expression DSL for Table API moved to `flink-table-api-scala`
Expand Down
10 changes: 10 additions & 0 deletions docs/release-notes/flink-1.9.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,16 @@ have skipped Java 9 support.
Related issues:
- [FLINK-8033: JDK 9 support](https://issues.apache.org/jira/browse/FLINK-8033)

### Memory management

In Fink 1.9.0 and prior version, the managed memory fraction of taskmanager is controlled by `taskmanager.memory.fraction`,
and with 0.7 as the default value. However, sometimes this will cause OOMs due to the fact that the default value of JVM
parameter `NewRatio` is 2, which means the old generation occupied only 2/3 (0.66) of the heap memory. So if you run into
this case, please manually change this value to a lower value.

Related issues:
- [FLINK-14123: Lower the default value of taskmanager.memory.fraction](https://issues.apache.org/jira/browse/FLINK-14123)

## Deprecations and breaking changes

### Scala expression DSL for Table API moved to `flink-table-api-scala`
Expand Down

0 comments on commit b0f693d

Please sign in to comment.