One problem with 64-bit Java is the amount of Memory it occupies. As of 2011 we feel that all application profiles we have encountered do not require 64-bit Java as they can often do not take advantage of using more than than 1.6GB of memory. In -2GB of memory. Also, we have observed that when a Java Application has access to a large amount of memory, the application gets bogged down when garbage collection occurs.
Note |
---|
This has improved due to newer algorithms such as concurrency, parallelization and generational collection. However we observe there is still significant impact. |
As such, in many cases it is better to scale horizontally (running multiple JVMs) as opposed to using one giant JVM.
...