You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by li...@apache.org on 2015/04/04 01:13:44 UTC
[05/17] incubator-kylin git commit: Give larger PermSize to avoid “OutOfMemoryError: PermGen space”
Give larger PermSize to avoid “OutOfMemoryError: PermGen space”
Project: http://git-wip-us.apache.org/repos/asf/incubator-kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-kylin/commit/3809d301
Tree: http://git-wip-us.apache.org/repos/asf/incubator-kylin/tree/3809d301
Diff: http://git-wip-us.apache.org/repos/asf/incubator-kylin/diff/3809d301
Branch: refs/heads/master
Commit: 3809d301ec14d1261862134b2eef140a892f5a7c
Parents: edc8919
Author: Shao Feng, Shi <sh...@ebay.com>
Authored: Fri Apr 3 11:38:20 2015 +0800
Committer: Shao Feng, Shi <sh...@ebay.com>
Committed: Fri Apr 3 11:38:20 2015 +0800
----------------------------------------------------------------------
bin/kylin.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/3809d301/bin/kylin.sh
----------------------------------------------------------------------
diff --git a/bin/kylin.sh b/bin/kylin.sh
index ceab0aa..5dabb37 100644
--- a/bin/kylin.sh
+++ b/bin/kylin.sh
@@ -34,7 +34,7 @@ then
export HBASE_CLASSPATH_PREFIX=${tomcat_root}/bin/bootstrap.jar:${tomcat_root}/bin/tomcat-juli.jar:${tomcat_root}/lib/*:$HBASE_CLASSPATH_PREFIX
export HBASE_CLASSPATH=$hive_dependency:${HBASE_CLASSPATH}
- export JAVA_OPTS="-Xms2048M -Xmx2048M"
+ export JAVA_OPTS="-Xms2048M -Xmx2048M -XX:MaxPermSize=512m"
hbase ${JAVA_OPTS} ${KYLIN_EXTRA_START_OPTS} \
-Djava.util.logging.config.file=${tomcat_root}/conf/logging.properties \