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:
parent
4bf90a6c1d
commit
b052aa4953
7 changed files with 78 additions and 7 deletions
|
|
@ -1,6 +1,6 @@
|
|||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM eclipse-temurin:11-jdk-jammy
|
||||
FROM eclipse-temurin:17-jdk-jammy
|
||||
ARG KAFKATORIO_VERSION
|
||||
ARG APP_FILES="build/"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue