I have a graph of more than 1 M nodes, and try to find the nodes at two depth with multiple relation. Always hit out of heap space error when trying to run. Is there anyway to optmize the query?
MATCH (a:person)-[r1:relation]->(b:customer)-[r2:relati...