Skip to content

Commit

Permalink
docs: Added out-of-memory error in the FAQ
Browse files Browse the repository at this point in the history
  • Loading branch information
jruaux committed Oct 24, 2024
1 parent 02e2859 commit 637e7a4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/guide/src/docs/asciidoc/faq.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,9 @@ ERR Error running script... This Redis command is not allowed from scripts::
This can happen with Active/Active (CRDB) databases because the `MEMORY USAGE` command is not allowed to be run from a LUA script.
Use the `--mem-limit -1` option to disable memory usage.

[[_faq_outofmemory]]
java.lang.OutOfMemoryError: Java heap space::
The JVM running RIOT ran out of memory.
Either increase max JVM heap size (`export JAVA_OPTS="-Xmx8g"`) or reduce RIOT memory usage by lowering `threads`, `batch`, `read-batch` and `read-queue`.


0 comments on commit 637e7a4

Please sign in to comment.