I am deploying Elastic 7.4.0 in my cluster, specifying -Xms4096M -Xmx4096M for the nodes, but I continue to run into pods getting evicted for memory pressure. Examples:
The node was low on resource: memory. Container elasticsearch was using 36874144Ki, which exceeds its request of 8Gi.
The node was low on resource: memory. Container elasticsearch was using 49884448Ki, which exceeds its request of 8Gi.
The top output from one of the nodes shows this rather impressive virtual address space usage:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
63500 1000 20 0 97.810g 4.584g 170780 S 46.0 8.3 912:46.37 java
Anyone know why java is bloating so badly, and what I can do to stop it?