You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jun Rao (JIRA)" <ji...@apache.org> on 2015/09/04 00:22:46 UTC

[jira] [Created] (KAFKA-2514) change default JVM options in kafka-run-class.sh

Jun Rao created KAFKA-2514:
------------------------------

             Summary: change default JVM options in kafka-run-class.sh
                 Key: KAFKA-2514
                 URL: https://issues.apache.org/jira/browse/KAFKA-2514
             Project: Kafka
          Issue Type: Improvement
          Components: config
            Reporter: Jun Rao
            Priority: Blocker
             Fix For: 0.8.3


Since we have stopped supporting java 6, we should improve the default jvm options. For example, we should probably change the following to G1 collectors.

if [ -z "$KAFKA_JVM_PERFORMANCE_OPTS" ]; then
  KAFKA_JVM_PERFORMANCE_OPTS="-server -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+CMSScavengeBeforeRemark -XX:+DisableExplicitGC -Djava.awt.headless=true"
fi




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