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 !