Add memory limit (close #267, AI assisted)
Change-Id: Iff996ab4b2de8de9084b996b229c7db6931fe8a7
diff --git a/src/main/resources/krill.properties.info b/src/main/resources/krill.properties.info
index bbe38d5..b471f19 100644
--- a/src/main/resources/krill.properties.info
+++ b/src/main/resources/krill.properties.info
@@ -16,6 +16,9 @@
krill.index.relations.max = 100
krill.index.textSize.max = 20000000
+# Maximum JVM heap memory used (in MB) before a search is aborted (0 = disabled)
+krill.search.memory.max = 0
+
# Token retrieval settings:
#
# krill.match.max.token = 5
@@ -77,3 +80,4 @@
## the client chooses one or the other per request. When character context
## is used, token-based maxShrink adjustment does NOT apply.
## Defaults to 500
+