Avoid trouble: On HP-UX or Solaris operating
systems, a
java.lang.OutOfMemoryError: PermGen space
problem might occur during large and complex tasks. For example, you
might encounter this problem when you run commands such as
addNode on
nodes with large applications. When the demands for resources exceed
the default storage size, the task can fail with a
java.lang.OutOfMemoryError:
PermGen space error. To resolve this problem, increase the
minimum size of the permanent region. Set the
-XX:PermSize Java™ virtual machine (JVM) option
to a value such as
128MB, which is sufficient for
many situations in which this problem occurs:
XX:PermSize=128m
gotcha