"In this case you may need entirely different styles of design and architecture for optimal performance on different systems, in a subsystem that you probably haven't considered needed that!"
"It is important to note that the -XX:MaxRAMPercentage does NOT constrain the total size of the memory the Java process can use. It specifically refers to the JVM heap size. The suggested procedure for setting container JVM memory is: 1. start with MaxRAMPercentage at 75%; 2. If your maximum heap usage stays high, you need to increase the container memory, but if the heap usage is okay but the process size is close to the container limit, you need to decrease MaxRAMPercentage (or give more containermemory)"