How many nodes do you have? Also, if you just do a
*START n=node(*) RETURN count(n);* you should get a result? I suspect that your returned String is just too big, try the streaming REST API, see http://docs.neo4j.org/chunked/stable/rest-api-streaming.html /peter G: neubauer.peter S: peter.neubauer P: +46 704 106975 L: http://www.linkedin.com/in/neubauer T: @peterneubauer <http://twitter.com/peterneubauer> Open Data - @mapillary <http://mapillary.com> Open Source - @neo4j <http://neo4j.org> Open Future - @coderdojo <http://malmo.coderdojo.se> On Mon, Jun 2, 2014 at 3:01 PM, <[email protected]> wrote: > Hi > > I want to implement query execution timeout and I have followed all the > steps mentioned in > http://www.markhneedham.com/blog/2013/10/17/neo4j-setting-query-timeout/ > > But it is not working. After waiting for so long I have received below > error on my neo4j-sh > > *neo4j-sh (0)$ START n=node(*) RETURN n;* > *Error occurred in server thread; nested exception is: * > * java.lang.OutOfMemoryError: Requested array size exceeds VM limit* > > I am using neo4j community version 1.9 and JVM Heap settings are as below: > > # Initial Java Heap Size (in MB) > wrapper.java.initmemory=8192 > > # Maximum Java Heap Size (in MB) > wrapper.java.maxmemory=8192 > > Can you please suggest what is wrong? > > Thanks, > Nilesh > > > -- > 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/d/optout. > -- 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/d/optout.
