OutOfMemoryError

An RSE thread pool might fail with an OutOfMemoryError message being logged. This error is related to the Java™ heap size, and might occur if the users active in this thread pool use more resources than anticipated. Common causes of this error are the following things:
  • Expanding large data set filters in Remote Systems Explorer
  • Opening PDS(E) with a large amount of members
  • Opening large members or sequential files
To resolve this issue, you can do the following things:
  • Increase the -Xmx directive in rse.env, because it controls the maximum Java heap size. Note that the Java heap must fit within address space limits.
  • Decrease the -Dmaximum.clients directive in rse.env, because it controls how many users can be placed in a single thread pool (and thus share a single Java heap).