On 11/26/22 14:41, Shawn Heisey wrote:
Java has other issues with heaps 32GB and larger, so the general recommendation we give is to keep the heap size below 32GB. That won't really matter with EXTREMELY large heaps well beyond 64GB, but most users will never need a heap that large.
One additional tidbit related to this: ZGC always uses 64-bit pointers, doesn't support Compressed OOPs, and isn't available on 32-bit Java. So there is no advantage to choosing a 31GB heap compared to 32GB, as there is with G1.
32-bit hardware support in software is slowly but surely disappearing. Ubuntu no longer builds 32-bit installers. Debian still does, but I imagine that it won't be very many years until they drop it as well. 32-bit Java is hard to find.
TL;DR: I recently built a VM running 32-bit Debian. Their entire software catalog is available for all hardware architectures that they support, so it was trivial to install a 32-bit Java with "apt install openjdk-11-jdk". With that VM, I was able to check whether a piece of Java software would run on 32-bit. The 2GB heap size limitation is a problem for most users, but everything still works if that limit is acceptable.
Thanks, Shawn --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@solr.apache.org For additional commands, e-mail: dev-h...@solr.apache.org