130 Java Stand-alone Applications on z/OS Volume II
8.1 Typical Java problems
Most of the problems faced by Java developers, either during application
development or during production runs, can be broadly categorized into the
following types:
OutOfMemory problems
Hang or deadlock problems
Crash problems
High CPU or performance problems
In the following sections, we explain these challenges in more detail.
8.1.1 OutOfMemory problems
Java applications running in a JVM can have two kinds of OutOfMemory issues:
Exhaustion of LE HEAP.
This can be caused by a leak in the usage of LE HEAP. JVM uses LE HEAP
for two types of allocations:
– For allocation of Java heap. During startup, the JVM allocates a single
chunk of maximum Java heap from LE HEAP ...