c35c71a4fe
A single pathological check request (e.g. a very long sentence hitting the OpenNLP chunker) can exhaust the Java heap, leaving the JVM alive but with its HTTP dispatcher thread dead. Make OutOfMemoryError fatal, have daemon(8) restart the server after 10 seconds, and bound per-request work in the sample configuration. Sponsored by: The FreeBSD Foundation