Database Reference
In-Depth Information
-XX:+HeapDumpOnOutOfMemoryError
Although this is not a performance setting, we recommend setting it to dump the
heap to an
hprof
file when
java.lang.OutOfMemoryError
exceptions are
thrown. This is useful for later analysis and troubleshooting.
-XXtlasize:min=16k,preferred=128k,wasteLimit=8k
We recommend increasing the
thread local area (TLA)
size in multi-threaded
applications such as Oracle SOA Suite 11g where each thread allocates a lot
of objects, or if the average size of these objects is large. Avoid increasing it
to a value that is too high, as it may result in fragmentation and more frequent
garbage collections. The minimum value of
16k
and preferred value of
128k
have proven to be good in most environments. The
wasteLimit
of
8k
sets
the limit of how much of a TLA can be wasted when trying to get memory for an
object.
Additional JVM performance tuning documentation from Oracle can be found at:
•
•