Kbase 20305: Java Out of Memory Error - HP-UX
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  8/11/2004 |
|
Solution ID: 20305
FACT(s) (Environment):
HP-UX 11 32-bit
HP-UX 11 64-bit
Progress 9.x
SYMPTOM(s):
Receiving a Java Out of Memory error.
Maximum number of threads per process is reached.
CAUSE:
According to Hewlett Packard, the default values for HP-UX 11.0 are set too low for most Java applications.
FIX:
Tune max_thread_proc and nkthread so that the limit of the maximum number of threads per process is not encountered.
They appear in the kernel as:
Java Generic Server
maxusers 400
max_thread_proc maxusers*3
maxfiles 2048
maxfiles_lim 2048
ncallout 2*((((nproc*7)/4)+16)*2)
nkthread 2*max_thread_proc
nfile (2*nproc)+1000
nproc ((maxusers*5)+64)