Docker limits and JVM heap setting

Hello People,

quick question (confirmation). I've got a server with 32 GB ram and 4vcpcu for one elk node (v7.11.1).
If I set this in docker-compose (v.2.4):

 mem_limit: 24G 
    mem_reservation: 4G
    cpus: 4

And set JVM heap:

-Xms16g
-Xmx16g

Would it be correct ?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.