kylin-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "沙漠火狐" <278211...@qq.com>
Subject 回复: java.lang.OutOfMemoryError: Java heap space
Date Tue, 11 Oct 2016 01:16:14 GMT
thanks xwhfcenter@gmail.com


in /bin/setev.sh my setting is 


export KYLIN_JVM_SETTINGS="-Xms2048M -Xmx10240M -Xss1024K -XX:MaxPermSize=10240M -verbose:gc
-XX:+PrintGCDetails -XX:+PrintGCDateStamps -Xloggc:$KYLIN_HOME/logs/kylin.gc.$$ -XX:+UseGCLogFileRotation
-XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=64M"


the problem is  still.  or  i any config setting  is wrong?   




------------------ 原始邮件 ------------------
发件人: "Mario Copperfield";<xwhfcenter@gmail.com>;
发送时间: 2016年10月10日(星期一) 下午5:26
收件人: "dev"<dev@kylin.apache.org>; 

主题: Re: java.lang.OutOfMemoryError: Java heap space



can try set KYLIN_JVM_SETTINGS in /bin/setenv.sh

On Mon, Oct 10, 2016 at 4:55 PM, 沙漠火狐 <278211813@qq.com> wrote:

> hi
>    I have a big lookuptable about 1.3G, when I cube it,  in
> /logs/kylin.out  say :
>
>
> Oct 10, 2016 4:20:22 PM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 24004 ms
> Found segment ordrpath_goodsid[20161008000000_20161009000000]
> #
> # java.lang.OutOfMemoryError: Java heap space
> # -XX:OnOutOfMemoryError="kill -9 %p"
> #   Executing /bin/sh -c "kill -9 23272"...
>
>
>
> ------------------------------------------------------------
> then the  kylin is stop.
>
>
> so I  add     JAVA_OPTS="-Xms256m -Xmx10240m -XX:PermSize=128m
> -XX:MaxPermSize=4096m"   config in   catalin.sh
>
>
> and change the config in kylin_job_conf_inmem.xml  to
>  <property>
>         <name>mapreduce.map.memory.mb</name>
>         <value>4096</value>
>         <description></description>
>     </property>
>
>
>     <property>
>         <name>mapreduce.map.java.opts</name>
>         <value>-Xmx10240m</value>
>         <description></description>
>     </property>
>
>
> I also change the propery in kylin.properies
>     kylin.dictionary.max.cardinality=50000000
>     kylin.table.snapshot.max_mb=1500
>
>
>
>
>
>
>
> but the problem is still in.    is there any config i should add to solve
> this problem.     thanks !




-- 
Best regards,
Amuro Copperfield
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message