iotdb icon indicating copy to clipboard operation
iotdb copied to clipboard

Docker deployment: MEMORY_SIZE settings in confignode-env.sh and datanode-env.sh not effective, leading to continuous memory increase during compaction recovery (versions 1.3.2 and 2.0.5)

Open MM-X-C opened this issue 1 month ago • 1 comments

In a Docker-based standalone deployment of IoTDB, setting MEMORY_SIZE (e.g., MEMORY_SIZE=4G) in iotdb-env.sh does not take effect. During startup, the compaction recovery process (specifically "recovering sequence inner compaction") causes the container memory usage to continuously increase without bound, eventually leading to OOM or high resource exhaustion. This prevents the RPC service from becoming available (connection refused on port 6667). The issue persists across versions 1.3.2 and 2.0.5, with no visible impact from the JVM heap configuration. This occurs in standalone mode. No errors are logged beyond the repeated recovery messages, and basic resource limits in docker-compose.yml (e.g., limits: memory: 6G) do not mitigate the growth.

MM-X-C avatar Dec 05 '25 08:12 MM-X-C

Hi, this is your first issue in IoTDB project. Thanks for your report. Welcome to join the community!

github-actions[bot] avatar Dec 05 '25 08:12 github-actions[bot]