Hi, i'm running a java app which runs a janusgraph server and connects to a cassandra db as it's backend storage.we started seeing java heap issue and GC causing OOM exception.
we analyzed the dumps and found that cache vertex objects was filling up the memory causing OOM exception to occur.
To fix OOM issue many people suggested consider adding frequent commits.I tried that and it was working fine for some days and again we started seeing this issue.
By adding frequent commits, i started seeing other issues as well like java.lang.IllegalStateException: Vertex with id 1234 was removed while trying to save a vertex.
Can someone please help me how can we avoid this memory leak issue.Any help would be much appreciated.