Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FLINK-14123]Update help docs for OutOfMemoryError #278

Open
wants to merge 1 commit into
base: asf-site
Choose a base branch
from

Conversation

liupc
Copy link

@liupc liupc commented Oct 21, 2019

This PR add docs about handling OutOfMemoryError, it's related to https://issues.apache.org/jira/browse/FLINK-14123

Comment on lines +137 to +139
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. This sometimes 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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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. This sometimes 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.
In Flink 1.9.0 and prior versions, the managed memory fraction of the taskmanager is controlled by `taskmanager.memory.fraction`,
with 0.7 as the default value. This will sometimes cause OOMs because the default value of the
JVM parameter `NewRatio` is 2, which means that the old generation occupied only 2/3 (0.66) of the heap memory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants