Memory Issue with Neo4j as Memory usage spikes to 98 %

Hi All,

I have Neo4j running on EC2 instance with below configurations:
Cores : 8
RAM : 16 GB
Enterprise Edition
Version: 3.5.18

Neo4j.conf Values
dbms.memory.heap.max_size=4g
dbms.memory.pagecache.size=4g

But , it seems Memory Usage keeps increasing and is not released even when traffic is less.
This has caused RAM Memory Usage to Spike to critical levels (above 98 %).

Please guide us with the correct memory configuration or way to debug this problem.

Thanks
Amit

As you can imagine this is too little information. You need to share more details on how you use the database.

If you have a support contract for your EE, please raise a ticket there.

Sounds like a leak in your client operations, e.g. non-closed transactions or sessions or so.

Also check out this monitoring tool, which might help you correlating memory usage with transactions etc.