Skip to content

Commit

Permalink
fixed outdated comment in tuning guide
Browse files Browse the repository at this point in the history
  • Loading branch information
jkbradley committed Dec 4, 2014
1 parent 90ec643 commit 0760ce1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/tuning.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,7 @@ the space allocated to the RDD cache to mitigate this.
**Measuring the Impact of GC**

The first step in GC tuning is to collect statistics on how frequently garbage collection occurs and the amount of
time spent GC. This can be done by adding `-verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps` to your
`SPARK_JAVA_OPTS` environment variable. Next time your Spark job is run, you will see messages printed in the worker's logs
time spent GC. This can be done by adding `-verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps` to the Java options. (See the [configuration guide](configuration.html#Dynamically-Loading-Spark-Properties) for info on passing Java options to Spark jobs.) Next time your Spark job is run, you will see messages printed in the worker's logs
each time a garbage collection occurs. Note these logs will be on your cluster's worker nodes (in the `stdout` files in
their work directories), *not* on your driver program.

Expand Down

0 comments on commit 0760ce1

Please sign in to comment.