You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/09/15 15:35:46 UTC
[jira] [Commented] (KAFKA-2514) change default JVM options in
kafka-run-class.sh
[ https://issues.apache.org/jira/browse/KAFKA-2514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14745454#comment-14745454 ]
ASF GitHub Bot commented on KAFKA-2514:
---------------------------------------
GitHub user omkreddy opened a pull request:
https://github.com/apache/kafka/pull/218
KAFKA-2514: change default JVM options in kafka-run-class.sh.
GC is set to G1 collector.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/omkreddy/kafka KAFKA-2514
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/218.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #218
----
commit 49d9944f3f83c17cf578cf9f5e9fae4d5127f559
Author: Manikumar reddy O <ma...@gmail.com>
Date: 2015-09-15T13:28:45Z
KAFKA-2514; change default JVM options in kafka-run-class.sh. GC set to G1 collector.
----
> 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.9.0.0
>
>
> 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)