You run into problems with the garbage collector when the heap gets
big: the bigger the heap, the longer it takes to compact. Azul has
hardware support for their garbage collector which allows their
compaction phase to run concurrently with the application, otherwise
there'd be no way they could make use of the 768 GB ram their kit can
scale to, unless striped across hundreds of JVMs. If you try to scale
a normal collector to those heap sizes, you will see your
stop-the-world collections jump from sub-second to minutes or even
hours.
>
> -Stuart Sierra