On 19 July 2018 at 10:43, Léo FERLIN SUTTON <lfer...@mailjet.com.invalid> wrote:
> Hello list !
>
> I have a question about cassandra memory usage.
>
> My cassandra nodes are slowly using up all my ram until they get OOM-Killed.
>
> When I check the memory usage with nodetool info the memory
> (off-heap+heap) doesn't match what the java process is really using.

Hi Léo,

It's possible that glibc is creating too many memory arenas. Are you
setting/exporting MALLOC_ARENA_MAX to something sane before calling
the JVM? You can check that in /proc/<pid>/environ.

I would also turn on -XX:NativeMemoryTracking=summary and use jcmd to
check out native memory usage from the JVM's perspective.

-Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@cassandra.apache.org
For additional commands, e-mail: user-h...@cassandra.apache.org

Reply via email to