[ 
https://issues.apache.org/jira/browse/TIKA-4380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17924297#comment-17924297
 ] 

William Miller commented on TIKA-4380:
--------------------------------------

I'll try that when I have some time later tonight.

On my machines (tested with M1 and M4) this seems to work:

$ java -XX:UseSVE=0 --version
openjdk version "23.0.2" 2025-01-21
OpenJDK Runtime Environment (build 23.0.2+7)
OpenJDK 64-Bit Server VM (build 23.0.2+7, mixed mode, sharing)

> 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)

Reply via email to