as clickhouse is running on the same server with our Java app, we try to restrict its memory usage via settings in docker-compose.yml -
But then during the work it can consume 8-10 Gb of RAM. Looking at the settings (SELECT * FROM system.settings;) we see -
max_memory_usage = 10000000000
max_memory_usage_for_user = 0
Why clickhouse ignores our memory settings?