[
https://issues.apache.org/jira/browse/FLINK-18438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17156435#comment-17156435
]
Xintong Song commented on FLINK-18438:
--------------------------------------
[~JohnSiro],
You are right. The java version seems correct.
I think I have confused "Improperly specified VM option" with "Unrecognized VM
option". I did some google search, and it seems this error is usually caused by
improper format. My guess is that, the problem might be caused by some
differences between executing the shell scripts in cgywin and on a real linux
machine.
Could you try to post the complete JVM start-up command generated by the shell
script (with the JVM_ARGS uncommented)? You can print the command from
`<FLINK_DIR>/bin/flink-daemon.sh`, searching for the following line.
{quote}$JAVA_RUN $JVM_ARGS ${FLINK_ENV_JAVA_OPTS} "${log_setting[@]}"
-classpath "`manglePathList "$FLINK_TM_CLASSPATH:$INTERNAL_HADOOP_CLASSPATHS"`"
${CLASS_TO_RUN} "${ARGS[@]}" > "$out" 200<&- 2>&1 < /dev/null &
{quote}
> TaskManager start failed
> ------------------------
>
> Key: FLINK-18438
> URL: https://issues.apache.org/jira/browse/FLINK-18438
> Project: Flink
> Issue Type: Bug
> Components: Client / Job Submission
> Affects Versions: 1.10.1
> Environment: Java: java version "1.8.0_101"
> Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
> Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)
> Flink: 1.10.1 (flink-1.10.1-bin-scala_2.12.tgz)
> OS: Windows 10 (1903) / 64-bits
> Reporter: JohnSiro
> Priority: Major
>
>
> Error: in file xxx-taskexecutor-0-xxx.out is:
> Error: Could not create the Java Virtual Machine.
> Error: A fatal exception has occurred. Program will exit.
> Improperly specified VM option 'MaxMetaspaceSize=268435456 '
--
This message was sent by Atlassian Jira
(v8.3.4#803005)