cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ted_liefeld
Level 2

Installer bin failing on amazon linux 2023

I recently updated a server from  amazon linux 2  to the amazon linux 2023 version.  My server (java 1.8) still runs fine, but the InstallAnywhere installers no longer will, failing with OutOfMemory errors so I cannot update it.  In the installer log it reports

     Free Memory: 443996 kB

     Total Memory: 3553792 kB

So but the actual memory available is close to 12 GB of the 16 that is actually present.  From "top" I see

      MiB Mem : 15611.1 total, 12312.2 free, 260.3 used, 3038.7 buff/cache

which is correct.  The java version is

    openjdk version "1.8.0_392"

    OpenJDK Runtime Environment Corretto-8.392.08.1 (build 1.8.0_392-b08)

    OpenJDK 64-Bit Server VM Corretto-8.392.08.1 (build 25.392-b08, mixed mode)

The installer is being run silent with a properties file and has specified larger  values (2-16GB) for

     lax.nl.java.option.java.heap.size.initial

     lax.nl.java.option.java.heap.size.max

but these don't seem to make a difference based on the logs and because setting these to values greater than the available physical memory does not seem to cause a fail to start, so I think its being ignored.

 

In comparison on an older server  (openjdk version "1.8.0_312", not the aws corretto) running on amazon linux 2 runs fine.  On the 2023 linux if fails with older installers as well.   

Anyone have a suggestion for what to try next.  

0 Kudos

(0) Replies