You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@kylin.apache.org by Sun <sj...@gmail.com> on 2016/06/07 03:54:16 UTC

What's the proper jvm value in KYLIN_JVM_SETTINGS ? My Kylin query always failed with OOM

 When I execute a sql, the kylin server is down and in the kylin.out, it
shows as follows:
# java.lang.OutOfMemoryError: Java heap space
# -XX:OnOutOfMemoryError="kill -9 %p"
#   Executing /bin/sh -c "kill -9 1909"...

What's the proper jvm value in KYLIN_JVM_SETTINGS ? My Kylin query always
failed with OOM? What's the relationship between KYLIN_JVM_SETTINGS and
Cube Size ?

Re: What's the proper jvm value in KYLIN_JVM_SETTINGS ? My Kylin query always failed with OOM

Posted by Li Yang <li...@apache.org>.
It is more about the total size of a query's result. If your query returns
a lot of rows, Kylin need memory to aggregate them before return.

On Tue, Jun 7, 2016 at 11:54 AM, Sun <sj...@gmail.com> wrote:

> When I execute a sql, the kylin server is down and in the kylin.out, it
> shows as follows:
> # java.lang.OutOfMemoryError: Java heap space
> # -XX:OnOutOfMemoryError="kill -9 %p"
> #   Executing /bin/sh -c "kill -9 1909"...
>
> What's the proper jvm value in KYLIN_JVM_SETTINGS ? My Kylin query always
> failed with OOM? What's the relationship between KYLIN_JVM_SETTINGS and
> Cube Size ?
>