Reduce memory use of the JVM services

The services now run on Java 17, with a periodic G1 GC that returns unused
heap to the OS when idle. Previously Java 11 kept the committed heap, so
events-processors held 5.5 GB while its live data was ~250 MB.

All RocksDB state stores now share one bounded block cache and write buffer
(ROCKSDB_TOTAL_MEMORY_MB, default 256 MB), instead of each of the ~45 stores
having its own.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Lazzexus 2026-11-03 10:31:04 +01:00
parent e1e59fe66c
commit ba9cbe5afe
7 changed files with 78 additions and 7 deletions

View file

@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1
FROM eclipse-temurin:11-jdk-jammy
FROM eclipse-temurin:17-jdk-jammy
ARG KAFKATORIO_VERSION