You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Elkhan Dadashov (Jira)" <ji...@apache.org> on 2022/12/21 07:35:00 UTC
[jira] [Commented] (FLINK-19935) Supports configure heap memory of sql-client to avoid OOM
[ https://issues.apache.org/jira/browse/FLINK-19935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17650132#comment-17650132 ]
Elkhan Dadashov commented on FLINK-19935:
-----------------------------------------
This happens in Flink 1.16.0 version also when SQL script is very large (>=164kb).
This is very easy to reproduce with `./bin/sql-client -f script_larger_than164kb.sql` command.
> Supports configure heap memory of sql-client to avoid OOM
> ---------------------------------------------------------
>
> Key: FLINK-19935
> URL: https://issues.apache.org/jira/browse/FLINK-19935
> Project: Flink
> Issue Type: New Feature
> Components: Table SQL / Client
> Affects Versions: 1.11.2
> Reporter: harold.miao
> Priority: Minor
> Labels: auto-deprioritized-major
> Fix For: 1.17.0
>
> Attachments: image-2020-11-03-10-31-08-294.png
>
>
> hi
> when use sql-client submit job, the command below donot set JVM heap pramameters. And cause OOM error in my production environment.
> exec $JAVA_RUN $JVM_ARGS "${log_setting[@]}" -classpath "`manglePathList "$CC_CLASSPATH:$INTERNAL_HADOOP_CLASSPATHS"`" org.apache.flink.table.client.SqlClient "$@"
>
> !image-2020-11-03-10-31-08-294.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)