Update Drill default settings
Project: http://git-wip-us.apache.org/repos/asf/incubator-drill/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-drill/commit/0a87076b Tree: http://git-wip-us.apache.org/repos/asf/incubator-drill/tree/0a87076b Diff: http://git-wip-us.apache.org/repos/asf/incubator-drill/diff/0a87076b Branch: refs/heads/master Commit: 0a87076b51f54b8fa5bbc42d613279b09c4dc786 Parents: 0d328d5 Author: Jacques Nadeau <jacq...@apache.org> Authored: Tue Jul 29 15:27:00 2014 -0700 Committer: Jacques Nadeau <jacq...@apache.org> Committed: Tue Jul 29 16:49:20 2014 -0700 ---------------------------------------------------------------------- distribution/src/resources/drill-env.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/0a87076b/distribution/src/resources/drill-env.sh ---------------------------------------------------------------------- diff --git a/distribution/src/resources/drill-env.sh b/distribution/src/resources/drill-env.sh index 23bd8cb..1783d6d 100644 --- a/distribution/src/resources/drill-env.sh +++ b/distribution/src/resources/drill-env.sh @@ -12,11 +12,12 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. + DRILL_MAX_DIRECT_MEMORY="8G" -DRILL_INIT_HEAP="1g" -DRILL_MAX_HEAP="4g" -export DRILL_JAVA_OPTS="-Xms$DRILL_INIT_HEAP -Xmx$DRILL_MAX_HEAP -XX:MaxDirectMemorySize=$DRILL_MAX_DIRECT_MEMORY -XX:+UseConcMarkSweepGC" +DRILL_MAX_HEAP="4G" + +export DRILL_JAVA_OPTS="-Xms1G -Xmx$DRILL_MAX_HEAP -XX:MaxDirectMemorySize=$DRILL_MAX_DIRECT_MEMORY -XX:MaxPermSize=512M -XX:ReservedCodeCacheSize=1G -ea" # Class unloading is disabled by default in Java 7 # http://hg.openjdk.java.net/jdk7u/jdk7u60/hotspot/file/tip/src/share/vm/runtime/globals.hpp#l1622 -export SERVER_GC_OPTS="-XX:+CMSClassUnloadingEnabled" \ No newline at end of file +export SERVER_GC_OPTS="-XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC"