Lambda failed with Java compiled into machine code

0

hi, We have a few lambda(s) deployed with native Java (compiled Java code down to machine code with Graalvm). It has been working with no issue in the last 4 months.

Since yesterday, intermittently, the lambda fails to execute with the following error message: The current machine does not support all of the following CPU features that are required by the image: [CX8, CMOV, FXSR, MMX, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, POPCNT, LZCNT, AVX, AVX2, BMI1, BMI2, FMA].

I think there is a compatibility issue here and would like some advise of how to resolve it.

thanks in advance, KC

KC
asked 3 months ago297 views
1 Answer
0

If this is happening with Graalvm Java 17, try Graalvm Java 21. Also, try switching the Java versions in the Lambda to match this.

profile pictureAWS
answered 3 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions