Skip to content
Snippets Groups Projects
Commit 0675ca50 authored by Reynold Xin's avatar Reynold Xin
Browse files

Merge pull request #439 from CrazyJvm/master

SPARK-1024 Remove "-XX:+UseCompressedStrings" option from tuning guide

remove "-XX:+UseCompressedStrings" option from tuning guide since jdk7 no longer supports this.
parents 4f0c361b 263933da
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment