Hi,
We notice on PPC platform the Java 8 version MaxRAMPercentage tops out at Container limit of 4 Gi ish.
Tested JDK 17 and JDK 8 on PPCLE with RH OCP.
run this bash
#### cat <<EOF | kubectl apply -f - apiVersion: v1 kind: Pod metadata: name: tilo-java spec: containers: - name: tilo-java #image: registry.access.redhat.com/ubi8/openjdk-8-runtime image: registry.access.redhat.com/ubi8/openjdk-17-runtime command: ["sh"] args: ["-c", "while true ; do echo alive ; sleep 3600 ; done"] resources: requests: memory: 512Mi cpu: 50m limits: memory: 8Gi cpu: 4 EOF ##exec to container oc exec -it tilo-java -- bash ##and run: java -XX:MaxRAMPercentage=85.0 -XshowSettings:vm -version ##kill pod and switch the image to other java
results:
java 8
[jboss@tilo-java ~]$ java -XX:MaxRAMPercentage=85.0 -XshowSettings:vm -version
VM settings:
Max. Heap Size (Estimated): 3.03G
Ergonomics Machine Class: server
Using VM: OpenJDK 64-Bit Server VM
openjdk version "1.8.0_462"
OpenJDK Runtime Environment (build 1.8.0_462-b08)
OpenJDK 64-Bit Server VM (build 25.462-b08, mixed mode)
java 17
[jboss@tilo-java ~]$ java -XX:MaxRAMPercentage=85.0 -XshowSettings:vm -version
VM settings:
Max. Heap Size (Estimated): 6.81G
Using VM: OpenJDK 64-Bit Server VM
openjdk version "17.0.16" 2025-07-15 LTS
OpenJDK Runtime Environment (Red_Hat-17.0.16.0.8-1) (build 17.0.16+8-LTS)
OpenJDK 64-Bit Server VM (Red_Hat-17.0.16.0.8-1) (build 17.0.16+8-LTS, mixed mode, sharing)
RH OCP version:
VERSION OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME v1.32.5 Red Hat Enterprise Linux CoreOS 9.6.20250625-0 (Plow) 5.14.0-570.24.1.el9_6.ppc64le cri-o://1.32.5-4.rhaos4.19.git68174b3.el9
on x86 the Java 8 image work fine