-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
Description
Hello,
I am trying to build a native image with following Dockefile:
FROM oracle/graalvm-ce:1.0.0-rc11 AS graal
COPY . /app
WORKDIR /app
RUN javac ExtListDir.java
RUN native-image \
-H:+ReportUnsupportedElementsAtRuntime \
--static \
--language:js \
ExtListDir
FROM scratch
COPY --from=graal /app/extlistdir /app
CMD ["/app"]
And I get java out of memory error. The java program is from demo examples here - https://github.com/graalvm/graalvm-demos/blob/master/native-list-dir/ExtListDir.java