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