Increasing the Memory of Greenplum Chorus
Chorus runs in the JVM, so the memory available to Chorus is the memory available to the JVM.
1. Edit the <installation directory>/shared/chorus.properties file. Change the java_options entry as you wish. For example:
java_options=-Djava.library.path=$CHORUS_HOME/vendor/hadoop/lib/ -server -Xmx1024m -Xms512m -XX:MaxPermSize=128m
2. Restart Greenplum Chorus.
The -Xmx variable indicates the maximum memory allocated to the JVM. For example, to reset the maximum memory to 2G, you can change -Xmx1024M to
-Xmx2048M. The -Xms variable indicates the memory allocated to the JVM at startup. For example, to reset the startup memory to 1G, you can change -Xms512M to -Xms1024M.