cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

GDS ShortestPath memory consumption

Hello everyone,

I am trying to run an simple application which is repeatedly calculationg shortest paths on a native GDS graph projection.

At application start  I create the model in the Neo4J datebase. The graph is fairly small and consists only of about 500 nodes. Then I create a projection with:

CALL gds.graph.project()

Afterwards I repeatedly calculate shortest paths on this projection with:

gds.shortestPath.dijkstra.stream

The workload is about 150.000 path calculations per hour.

I noticed that the memory consumption of the graph projection is steadily increasing with time by performing:

CALL gds.graph.list()
After few hours the memoryUsage shown by graph.list() reaches our heap size and the neo4j instance crashes.

Furthermore i noticed that the execution time of the function "gds.graph.list()" is increasing with time.
At the beginning the execution time is about 1 ms. Later on the execution time increases to > 1 min.
 
I performed a heap analysis of the neo4j Instance with MAT. The analysis also shows the increasing memory consumption related to the graph store.
 
Since the graph projection is only created once and is not modified over time I currently do not understand the
increasing memory consumption of the graph projection.
 
I would appreciate any help. Thank you.
 
 

 

 

 

 

0 REPLIES 0