Kevin,

how large is the dataset that is build up?

I'm not sure but the REST Plugin and the Webadmin use different implementations 
where webadmin streams the results with ajax and the REST plugin builds up a 
full string result.

Do you need all of the data? Or would it be possible to page it? Or to add some 
code to pre-process the data and just return the minimum that is needed.

Adding streaming to the cypher + gremlin pluings would be also a nice option, 
perhaps you'd like to add an github issue for that.

Cheers

Michael

Am 11.11.2011 um 06:42 schrieb Kevin Versfeld:

> furthermore, I tried a simple query, that returns about the same number of
> rows (still around 100K), and increased the timeout of my REST call (to
> several minutes) - and got my OutOfMemoryError again :)
> 
> latest query is just g.v(293).in('R_Bought'). Running it through the
> webadmin console is quick, and my memory usage stays low, etc (all as
> expected).
> It's only when going through the REST interface that I start getting memory
> and/or timeout issues...
> 
> 
> --
> View this message in context: 
> http://neo4j-community-discussions.438527.n3.nabble.com/Gremlin-how-to-flatten-a-tree-and-sort-tp3480586p3498879.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

_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to