Practical limitations of JVM memory and CPU usage?

Viewed 2894

Let's say money was not a limiting factor, and I wanted to write a Java program that ran on a single powerful machine.

The goal would be to make the Java program run as fast as possible without having to swap or go to disk for anything.

Let's say that this computer has:

  • 1 TB of RAM (64 16GB DIMMs)
  • 64 processor cores (8 8-core processors)
  • running 64-bit Ubuntu

Could a single instance of a java program running in a JVM take advantage of this much RAM and processors?

Are there any practical considerations that might limit the usage and efficiency?

  • OS process (memory & threads) limitations?
  • JVM memory/heap limitations?
  • JVM thread limitations?

Thanks, Galen

2 Answers
Related