Files
ports/textproc/languagetool
Joseph Mingrone c35c71a4fe textproc/languagetool: Harden HTTP server against OOM
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
2026-07-05 14:28:44 -03:00
..