From 263933da97d5e877999ce282f3e52457ae2d9377 Mon Sep 17 00:00:00 2001 From: CrazyJvm Date: Wed, 15 Jan 2014 22:26:15 +0800 Subject: remove "-XX:+UseCompressedStrings" option remove "-XX:+UseCompressedStrings" option from tuning guide since jdk7 no longer supports this. --- docs/tuning.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/tuning.md b/docs/tuning.md index bbb870085c..6b010aed61 100644 --- a/docs/tuning.md +++ b/docs/tuning.md @@ -119,8 +119,7 @@ pointer-based data structures and wrapper objects. There are several ways to do 2. Avoid nested structures with a lot of small objects and pointers when possible. 3. Consider using numeric IDs or enumeration objects instead of strings for keys. 4. If you have less than 32 GB of RAM, set the JVM flag `-XX:+UseCompressedOops` to make pointers be - four bytes instead of eight. Also, on Java 7 or later, try `-XX:+UseCompressedStrings` to store - ASCII strings as just 8 bits per character. You can add these options in + four bytes instead of eight. You can add these options in [`spark-env.sh`](configuration.html#environment-variables-in-spark-envsh). ## Serialized RDD Storage -- cgit v1.2.3