hi again I've been trying that query out (slightly modified now to return all nodes of a different kind, but attached to a node in the first set), on a data set of around 100K, and I'm getting an OutOfMemoryError: { "message" : "GC overhead limit exceeded", "exception" : "java.lang.OutOfMemoryError: GC overhead limit exceeded", "stacktrace" : [ ] }
My request (for gremlin over REST) is: "script": "m = [:]; g.v(id).in('R_PartOf').loop(1){m.put(it.object, it.loops); true} >> -1; m.sort{a,b -> a.value <=> b.value}.keySet()._().in('R_OtherEdge')", "params": { "id": 284 } Any thoughts? -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/Gremlin-how-to-flatten-a-tree-and-sort-tp3480586p3496857.html Sent from the Neo4j Community Discussions mailing list archive at Nabble.com. _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user