Open HYChou0515 opened 6 years ago
Could this error stem from only the undirected version being supported?
I experienced the same error trying to use the Louvain algorithm on a directed graph and realized that the docs specify that only the undirected versions are currently supported.
If this is true, is there any plans to add support for a directed version of the Louvain or Triangle Counting algorithms? Are these versions possible to implement?
I got a similar error when this ran!
CALL algo.triangleCount.stream('新浪微博ID', '关注',{concurrency:8})
YIELD nodeId, triangles, coefficient
WHERE coefficient > 0
RETURN algo.getNodeById(nodeId).nameNodeSpace AS library, coefficient
ORDER BY coefficient DESC;
Failed to invoke procedure `algo.triangleCount.stream`: Caused by: java.lang.ArrayIndexOutOfBoundsException: 13224496
Hi all, I'm trying to use the algo.triangle on this graph, in summary, 1005 nodes and 25571 edges. version info: neo4j-community-3.4.1 and graph-algorithms-algo-3.4.0.0.jar
Main
While algo.scc gave a result identical to that shown on the website, algo.triangle.stream gave
The procedure works well on this example data. I have seen this PR(#534) and max(nodeId)=1004 < 1005=nodeCount. The debug.log seems not show relative things, maybe I should config something to see the full log?
Memory
My max heap size is set to 64000MB and the mem of my machine is 64417MB.
dbms.memory.heap.max_size=64000m
Also I set my jvm has stack limit 64000MB.dbms.jvm.additional=-Xss64000M
Again, the page cache size is set to 64000MB.dbms.memory.pagecache.size=64000m
My full configurationneo4j.conf
is at the end.Data details
The
email-Eu-core.txt.gz
from the website includes the edges, and I have modified it into csv format namededge.csv
:I also created a node info named
node.csv
:I load using this command
Command details
I used the following command under the directory $NEO4J_HOME
$ ./bin/neo4j-shell -path data/databases/emaileu -config conf/neo4j.conf
And then typewhich gave the error described above.
MISC
To validate the data is correct, I ran the algo.scc procedure:
and I got
and 803 is identical to the website.
neo4j.conf