Hi,
I configured it in Clickhouse itself for all users (at the moment there are only two of us working with this enviroment, so it's more practical for me that way).
In clickhouse/config/users.d/users.xml add <max_memory_usage>10000000000</max_memory_usage>
<?xml version="1.0"?>
<clickhouse>
<users>
<default>
<max_memory_usage>10000000000</max_memory_usage>
</default>
</users>
</clickhouse>
I hope this helps you and I'm sorry I didn't reply sooner but I was on vacation.
KR,
Leo