News for hackers. Stuff that matters.
Re:Building a Real-Time Recommendation Engine by tummybug on Wednesday August 24, 2016 @11:42AM (#12352829)
Exactly the same as you, I was just trying out neo4j today with a small dataset (30mb) and was getting memory exceptions trying to add a relationship.
Re:Building a Real-Time Recommendation Engine by iamtherhino on Wednesday August 24, 2016 @08:19PM (#12356159)
Would you mind sharing the query? If you're hitting OOM exceptions with a dataset of that size there may be a typo in the query that's doing some sort of traveling salesman operation.

e.g.,

//grabs literally EVERY node in your database

MATCH (Person)-[KNOWS]-(Friend)

//only the people who have a KNOWS relationship between them

MATCH (person:Person)-[:KNOWS]-(Friend:Person)