[ https://issues.apache.org/jira/browse/TIKA-4380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17924282#comment-17924282 ]
Tim Allison commented on TIKA-4380: ----------------------------------- So, when I do this: {noformat} ENV JAVA_OPTS="-XX:UseSVE=0" ENTRYPOINT [ "/bin/sh", "-c", "exec java ${JAVA_OPTS} -cp \"/tika-server-standard-${TIKA_VERSION}.jar:/tika-extras/*\... {noformat} I get this: {noformat} Unrecognized VM option 'UseSVE=0' Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. {noformat} > Java crash on M4 processor > -------------------------- > > Key: TIKA-4380 > URL: https://issues.apache.org/jira/browse/TIKA-4380 > Project: Tika > Issue Type: Bug > Components: tika-docker > Reporter: William Miller > Priority: Major > Labels: java > > Hi Tika team, > There appears to be a Java bug impacting only M4 variant Arm processors on > Apple systems: > [https://bugs.openjdk.org/browse/JDK-8345296] > I discovered the bug when a Docker stack I use frequently had a Tika > container stuck in a crash/restart loop: > [https://github.com/owncloud/ocis/issues/10965] > This issue seems to be mitigated by adding an env flag: > JAVA_OPTS: "-XX:UseSVE=0" > I see more discussion of it here: > [https://github.com/corretto/corretto-21/issues/85] > [https://forums.docker.com/t/image-builds-fail-on-new-macbook-despite-working-fine-on-prior-apple-silicon/145772/5] > I don't personally use Tika outside the scope of this application stack, but > I thought I'd report here so it can be addressed. > > Thanks to everyone who devotes their time and energy to these valuable open > source projects. -- This message was sent by Atlassian Jira (v8.20.10#820010)