Child pages
  • Running the Server As a Service

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Java Service Wrapper has extensive configuration options. The most fundamental settings have been discussed in this chapter already. In this paragraph some more advanced settings are detailed

OutOfMemory action Perform custom action on OutOfMemory exceptions

Java process need to be explicitly told how much memory they are allowed to use. In case the process required more memory than it's allowed to use, based on the configuration, Java will throw OutOfMemory exceptions. When this happens, the state of the process becomes unreliable,  as some vital business logic might not have been executed. Java only has limited options to take action when OutOfMemory exceptions occur.

...