Stephan Ewen created FLINK-1291:
-----------------------------------
Summary: Remove GC options from JobManager and TaskManager scripts
Key: FLINK-1291
URL:
https://issues.apache.org/jira/browse/FLINK-1291 Project: Flink
Issue Type: Improvement
Components: other
Affects Versions: 0.8-incubating
Reporter: Stephan Ewen
Fix For: 0.8-incubating
Currently, the start scripts set a series of GC options
- The Tenured Gen GC is set to ConcurrentMarkSweep
- The Perm Gen is set to be collected during swipes (CMSClassUnloading)
- The ratio between Perm Gen and New Gen is fixed
I propose to remove all of those options:
- Users can pass their own GC arguments through the JAVA_OPTS
- CMS is not considered a competitive GC any more (starting from Java 7, G1 seems much better)
- PermGen garbage collection happens in all GCs anyways
- The ratio between TenuredGen and New Gen has proven harmful in the past
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)