I've done a similar query below though the MATCH has a more specific 
pattern rather than querying all nodes. If I only return A or B the query 
works fine, but with A and B the database will lock on "Executing query.." 
then return "Unknown error". If the query is a bug let me know and I'll 
post it to Github. 

Neo4J Browser then drops a red bar over the console stating "Disconnected 
from Neo4j. Please check if the cord is unplugged", this will display for a 
few moments, disappear and come back repeatedly. Looking at my Task 
Manager, Neo4j Community CPU was running at 70-100%, I'm assuming I caused 
a loop with the only way to stop it by restarting the DB. 

Stopping the server with 'neo4j-community.exe' shut the server down but CPU 
usage still remains at around 75(3 of 4 CPU cores?), RAM usage stopped 
growing, was at 4.4GB, Starting the server again RAM consumption continues 
to grow with no user action, Disconnected notification appears again. By 
killing 'neo4j-community.exe' via Task Manager, starting the process again 
RAM usage stays steady at 180MB after starting the server. No disconnected 
notification, 0 CPU usage with no user action.

I was expecting a list of nodes from the MATCH and a variable(B) to store 
the first result in. I've provided a simplified example of the query that 
causes the problem:

MATCH (A)
WITH A, head(collect(A)) as B
RETURN A, B

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to