Thanks to both Nigel and Michael.  I'll try both of those out!

-brian


On Friday, February 7, 2014 5:10:30 AM UTC-5, Nigel Small wrote:
>
> Nice :-)
>
>
> On 7 February 2014 09:57, Michael Hunger 
> <michael...@neopersistence.com<javascript:>
> > wrote:
>
>> Also the in memory server that I put together a while ago is useful for 
>> testing
>>
>> https://github.com/jexp/neo4j-in-memory-server
>>
>> Sent from mobile device
>>
>> Am 07.02.2014 um 10:34 schrieb Nigel Small <ni...@nigelsmall.com<javascript:>
>> >:
>>
>> If it's any help, I've recently added a bulk delete facility to my 
>> load2neo extension:
>>
>> http://nigelsmall.com/load2neo#bulk-delete
>>
>> This does a core-API-level deletion of all nodes and relationships so is 
>> generally the fastest method available. Useful for unit tests, etc :-)
>>
>> Cheers
>> Nige
>>
>>
>> On 6 February 2014 16:16, brian <blevi...@gmail.com <javascript:>> wrote:
>>
>>> Never mind.  This is my bug.  I added some of my own REST endpoints via 
>>> a plugin and I wasn't terminating the transaction correctly during certain 
>>> error conditions.
>>>
>>> -brian
>>>
>>> On Thursday, February 6, 2014 11:00:55 AM UTC-5, Michael Hunger wrote:
>>>
>>>> How many nodes do you have or did you have in your graph.
>>>>
>>>> Perhaps you have to batch the deletes.
>>>>
>>>> MATCH (n) 
>>>>
>>>>    LIMIT 10000
>>>>
>>>> OPTIONAL MATCH (n)-[r]-() DELETE n, r
>>>>
>>>>
>>>>
>>>> Michael
>>>>
>>>> Am 06.02.2014 um 16:40 schrieb brian <blevi...@gmail.com>:
>>>>
>>>> Environment:
>>>>   - Neo4j 2.0
>>>>   - Oracle JDK 1.7
>>>>   - OS X 10.9
>>>>   - Node 0.10.21
>>>>
>>>> I have a number of unit tests which exercise Neo4j via the REST API. 
>>>> Before each test, the database is cleared using the following query:
>>>>
>>>> MATCH (n) OPTIONAL MATCH (n)-[r]-() DELETE n, r
>>>>
>>>> This works fine for a while and then the Neo4j server becomes 
>>>> unresponsive for this query.  When the query is issued, there is no 
>>>> response from the server and my test eventually times out.  Once the 
>>>> server 
>>>> is in this state, I can also issue this query from the Neo4j browser. 
>>>>  After a long delay, the browser shows an "Unknown Error" message.  I can 
>>>> issue other queries successfully, but the "delete all" query continues to 
>>>> time out or error out until I restart the server.  There is nothing in the 
>>>> neo4j.0.0.log or console.log that indicates any problem.
>>>>
>>>> Any idea how I can debug this?
>>>>
>>>>
>>>> -- 
>>>> 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 neo4j+un...@googlegroups.com.
>>>>
>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>
>>>>
>>>>  -- 
>>> 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 neo4j+un...@googlegroups.com <javascript:>.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>  -- 
>> 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 neo4j+un...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>  -- 
>> 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 neo4j+un...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
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 neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to