12.5. Using Large Java Heap Sizes

Since Java uses garbage collection to manage its memory usage, the amount of heap memory available can be critical to achieving respectable performance. Not having a large enough heap may cause the JVM to constantly perform garbage collections in an attempt to free memory required to allocate additional objects for the Java application. Too much time spent garbage collecting can dramatically reduce the application's response time and throughput. The amount of heap memory available in early Java 1 versions was limited.. The Java 2 releases 1.3 and 1.4 provide the most heap available for 32-bit applications, while Java 2 release 1.4 and subsequent releases can provide an enormous amount of heap using the 64-bit ...

Get HP-UX 11i Tuning and Performance now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.