Re: [Neo] Traversal

2010-02-26 Thread Anders Nawroth
Hi Sumanth! Even if we traverse using BREADTH_FIRST, node3 and node7 are covered at level 1, so they won't be considered in the second level. Effectively I just get node8(node5 has a different name), where I wanted to have node3 and node7 as well. That's correct: when using a traverser, only

Re: [Neo] Neo4j Traverse API

2010-02-26 Thread Johan Svensson
On Fri, Feb 26, 2010 at 2:27 AM, Satish Varma Dandu dsva...@gmail.com wrote: Hi John/nishith/Ulf,  Thanks guys for all your replies. John,  I was thinking about the same thing that you suggested. I havent yet constructed a huge n/w, but i was just curious how long will it take to traverse

Re: [Neo] Java outof 64 GB ram

2010-02-26 Thread Miguel Ángel Águila Lorente
I will explain me better. Every node has: - One String that have 5 chars. - One String that have 3 chars. - One String that have 4 chars. - One String that have 100 chars. Mike El vie, 26-02-2010 a las 10:05 +0100, Miguel Ángel Águila Lorente escribió: I don't know if I'm answering your

Re: [Neo] Java outof 64 GB ram

2010-02-26 Thread Miguel Ángel Águila Lorente
Yes, one of them is node type, but I need because I also use this property for indexing depend on the kind of node. El vie, 26-02-2010 a las 13:11 +0100, Mattias Persson escribió: 2010/2/26 Miguel Ángel Águila magu...@ac.upc.edu: I will explain me better. Every node has: - One String

Re: [Neo] Java outof 64 GB ram

2010-02-26 Thread Mattias Persson
If it would be possible to have the node type as an integer it'd be more space efficient. Also if you just need the node type for lookups you don't need to set such property on the node, it could be enough to just index it. With those data you provided your string property store should be 28G,

Re: [Neo] Estrange exception when running multithreaded

2010-02-26 Thread Raul Raja Martinez
That makes sense, I'll give it a try, thanks! 2010/2/26 Mattias Persson matt...@neotechnology.com: 2010/2/26 Raul Raja Martinez raulr...@gmail.com: Hi Mattias, Thanks for the docs. I'm trying to solve this issue now and here is the problem I'm facing... Where it says in the wiki: Rewrite

Re: [Neo] BatchInserter.java fails

2010-02-26 Thread Lyudmila L. Balakireva
I am using neo4j-kernel version1.1-SNAPSHOT/version the full stack trace: java.lang.RuntimeException: org.neo4j.kernel.impl.transaction.TransactionFailureException: Unable to write command to logical log. at

Re: [Neo] Java outof 64 GB ram

2010-02-26 Thread Miguel Angel Aguila
Ok, thank you. I've been thinking and I can change the String of node type for an integer. I'll change it and some other things and will try to execute another time, when the trials finishes I will comment you how have it gone. Mike 2010/2/26 Mattias Persson matt...@neotechnology.com If it

Re: [Neo] Can you use EmbeddedGraphDatabase without a filesystem?

2010-02-26 Thread Raul Raja Martinez
We setup an fs based graph on the jvm java.io.tmp folder and destroy on every setup() teardown() if necessary. This is how all of our unit tests run and it works fine. An in memory store may give you a false view on how things work if one of the things you are testing is performance, specially in

Re: [Neo] Can you use EmbeddedGraphDatabase without a filesystem?

2010-02-26 Thread Hans Brattberg
Interesting point, but i prefer measuring the performance on a system level rather than down in my unit tests, and to write very quick unit tests when I can. In this case it was more interested in getting rid of the need to do anyting in my tearDown and/or setUp methods. I usually prefer to get

Re: [Neo] Estrange exception when running multithreaded

2010-02-26 Thread Raul Raja Martinez
Hi, I got this solved by following your suggestion and most important decreasing the corePoolSize in the Thread pool. Obviously the bigger the number of threads that are trying to run in parallel the more likely to deadlocks. What's most intriguing is that this same code without changes ran fine