Re: [Neo4j] Performance issue on nodes with lots of relationships

2011-07-06 Thread Paul Bandler
>Any hints on the memory map issue are welcomed too. I experienced that on Solaris when I'd placed the db on a filesystem that didn't support memory mapped I/o such as NFS Sent from my iPhone On 6 Jul 2011, at 17:48, Andrew White wrote: > Any > hints on the memory map issue are welcomed too.

Re: [Neo4j] Neo4j startup script syntax errors

2011-07-04 Thread Paul Bandler
2011, at 10:50, Paul Bandler wrote: > I'm running the script as shipped which already has #!/bin/bash on line 1? > > Sent from my iPhone > > On 4 Jul 2011, at 10:02, Michael Hunger > wrote: > >> Which shell is that? >> >> Could you try t

Re: [Neo4j] Neo4j startup script syntax errors

2011-07-04 Thread Paul Bandler
gt; > Am 04.07.2011 um 10:57 schrieb Paul Bandler: > >> When invoking the bin/neo4j command on solaris the following error messages >> are display and the script halts : >> >> TEST:bandlerp@us2187$ ./neo4j: line 37: syntax error in conditional >> expres

[Neo4j] Neo4j startup script syntax errors

2011-07-04 Thread Paul Bandler
When invoking the bin/neo4j command on solaris the following error messages are display and the script halts : TEST:bandlerp@us2187$ ./neo4j: line 37: syntax error in conditional expression: unexpected token `(' ./neo4j: line 37: syntax error near `^([' ./neo4j: line 37: ` if [[ ${line} =~

Re: [Neo4j] Does anyone use Solaris for neo4j app? [was Unable to memory map [was java.io.IOException: Resource temporarily unavailable in MappedPersistenceWindow.java?

2011-07-03 Thread Paul Bandler
> > Thanks Michael > > Sent from my iBrick4 > > > Am 02.07.2011 um 00:55 schrieb Paul Bandler : > >> >> On 30 Jun 2011, at 23:42, Michael Hunger wrote: >> >>> I would love to look into the memory mapping issues on Solaris. >> >>

Re: [Neo4j] Does anyone use Solaris for neo4j app? [was Unable to memory map [was java.io.IOException: Resource temporarily unavailable in MappedPersistenceWindow.java?

2011-07-01 Thread Paul Bandler
On 30 Jun 2011, at 23:42, Michael Hunger wrote: > I would love to look into the memory mapping issues on Solaris. There is no issue - just user mis-understanding of how it works - or doesn't if ones database is located on an NFS file-system. A little documentation on the necessary preconditio

Re: [Neo4j] Does anyone use Solaris for neo4j app? [was Unable to memory map [was java.io.IOException: Resource temporarily unavailable in MappedPersistenceWindow.java?

2011-06-30 Thread Paul Bandler
ris, and indeed whether that would further help performance, or does it just reduce the heap demand? On 30 Jun 2011, at 21:02, Paul Bandler wrote: > Further to the problems reported below from running a test application on a > server class Solaris box (M4000) I re-ran the test but with the sett

[Neo4j] Does anyone use Solaris for neo4j app? [was Unable to memory map [was java.io.IOException: Resource temporarily unavailable in MappedPersistenceWindow.java?

2011-06-30 Thread Paul Bandler
or comparison of the first run if once the cache's are hot the second run comes somewhere reasonably comparable to what might expect from a comparison between a C++ and Java implementation of a CPU intensive application operation (say 2-3 times slower in Java...)? cheers, Paul On 30 Jun

Re: [Neo4j] Unable to memory map [was java.io.IOException: Resource temporarily unavailable in MappedPersistenceWindow.java?

2011-06-30 Thread Paul Bandler
laris are you running that on? We don't have Solaris as > part of our build-qa workflow (yet). So I would try to see if there is an ec2 > instance that I could just use for that. > > Cheers > > Michael > > Am 30.06.2011 um 13:26 schrieb Paul Bandler: > >> A

Re: [Neo4j] Unable to memory map [was java.io.IOException: Resource temporarily unavailable in MappedPersistenceWindow.java?

2011-06-30 Thread Paul Bandler
A colleague has speculated that it maybe related to permissions. Im on a shared solaris box with no setuid access - can anyone elaborate on whether some specific access rights are required to use memory mapped IO? Sent from my iPhone On 30 Jun 2011, at 11:20, Paul Bandler wrote: > Furt

[Neo4j] Unable to memory map [was java.io.IOException: Resource temporarily unavailable in MappedPersistenceWindow.java?

2011-06-30 Thread Paul Bandler
Jun 2011, at 07:40, Paul Bandler wrote: > When running a test neo4j application on Solaris that I have previously run > successfully on Windows I'm encountering the following exception: > > Caused by: java.io.IOException: Resource temporarily unavai

[Neo4j] java.io.IOException: Resource temporarily unavailable in MappedPersistenceWindow.java?

2011-06-29 Thread Paul Bandler
When running a test neo4j application on Solaris that I have previously run successfully on Windows I'm encountering the following exception: Caused by: java.io.IOException: Resource temporarily unavailable at sun.nio.ch.FileChannelImpl.map0(Native Method) at sun.nio.ch.FileChanne

Re: [Neo4j] Moving a Neo4j Database?

2011-06-29 Thread Paul Bandler
Ignore this post - user error...! On 29 Jun 2011, at 22:09, Paul Bandler wrote: > Is there some record within the Neo4J database or its indexing that retains > knowledge of the location where it was created? Only I tried coping a neo4j > database from a Windows drive to a Unix file s

[Neo4j] Moving a Neo4j Database?

2011-06-29 Thread Paul Bandler
Is there some record within the Neo4J database or its indexing that retains knowledge of the location where it was created? Only I tried coping a neo4j database from a Windows drive to a Unix file system and started a Unix neo4j application pointing to it and while it connected apparently ok, w

Re: [Neo4j] Advantages of EmbeddedReadOnlyGraphDatabase ? [was NonWritableChannelException]

2011-06-28 Thread Paul Bandler
might be fixed in the new milestone release. My questions regarding what actual effect using the EmbeddedReadOnlyGraphDatabase is still relevant however...? On 28 Jun 2011, at 21:21, Rick Bullotta wrote: > Paul, are you on windows or Linux? > > - Reply message - > From: "

[Neo4j] Advantages of EmbeddedReadOnlyGraphDatabase ? [was NonWritableChannelException]

2011-06-28 Thread Paul Bandler
nes, as my application is read-only, I'm not doing any explicit transaction management - is there any reason why I should? Begin forwarded message: > From: Paul Bandler > Date: 21 June 2011 12:22:56 GMT+01:00 > To: Neo4j user discussions > Subject: [Neo4j] NonWritableChannelExcep

Re: [Neo4j] Webadmin browser dependencies?

2011-06-23 Thread Paul Bandler
defense, public safety/security or other highly sensitive >> industries. Perhaps your client would agree to violate the "standard" for >> admins? >> >> >> >> >> -Original Message- >> From: user-boun...@lists.neo4j.org [mai

Re: [Neo4j] Webadmin browser dependencies?

2011-06-23 Thread Paul Bandler
ive you a message to this effect on unsupported browsers. > > > -- Tatham > > > -Original Message- > From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On > Behalf Of Paul Bandler > Sent: Thursday, 23 June 2011 10:30 PM > To: Neo4j user

[Neo4j] Webadmin browser dependencies?

2011-06-23 Thread Paul Bandler
Unable to access the data tab using IE version 7. Tried using the Eclipse built in browser and it momentarily switches to the data tab but then it disappears again. What are the supported browser platforms? Sent from my iPhone ___ Neo4j mailing list U

[Neo4j] NonWritableChannelException

2011-06-21 Thread Paul Bandler
The above exception is thrown from the call stack indicated below while traversing a neo4j graph using the EmbedesReadOnly database. Using 1.4M04. The application is running with 1gb of heap with defaulting all other parameters except cache_type=weak on windows. I found some reports of this ex

Re: [Neo4j] BatchInserter improvement with 1.4M04 but still got relationship building bottleneck [was Re: Speeding up initial import of graph...]

2011-06-13 Thread Paul Bandler
e your test and the CompactIndex you wrote? > > That would be great. > > Also the memory settings (Xmx) you used for the different runs. > > Thanks so much > > Michael > > Am 13.06.2011 um 14:15 schrieb Paul Bandler: > >> Having noticed a mention in t

[Neo4j] BatchInserter improvement with 1.4M04 but still got relationship building bottleneck [was Re: Speeding up initial import of graph...]

2011-06-13 Thread Paul Bandler
> My suggestion is valid if you want to use an in memory map to speed up the > import. And if you're able to perhaps analyze / partition your data that > might be a viable solution. > > Will get back to you with the findings later. > > Michael > > Am 10.06.201

Re: [Neo4j] Speeding up initial import of graph

2011-06-10 Thread Paul Bandler
chael > > > P.S. As a side-note: > For the rest of the memory: > Have you tried to use weak reference cache instead of the default soft one? > in your config.properties add > cache_type = weak > that should take care of your memory problems (and the stopping which is > a

Re: [Neo4j] Speeding up initial import of graph

2011-06-09 Thread Paul Bandler
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) Regards, Paul Bandler On 9 Jun 2011, at 12:27, Michael Hunger wrote: > I recreated Daniels code in Java, mai

Re: [Neo4j] Speeding up initial import of graph

2011-06-09 Thread Paul Bandler
I too am experiencing similar problems - possibly worse than you're seeing as I am using a very modestly provisioned windows m/c (1.5Gb ram, setting max heap to 1Gb, oldish processor). I found that using the BatchInserter for loading nodes the heap grew and grew until when it was exhausted ever

Re: [Neo4j] BatchInserter exhausting heap...?

2011-06-02 Thread Paul Bandler
. Any further suggestions folks? Regards, Paul Bandler Sent from my iPhone On 2 Jun 2011, at 08:53, Paul Bandler wrote: > I monitored the heap using jconsole and much to my surprise observed that the > heap stayed relatively stable while the overall memory occupancy of the > pro

Re: [Neo4j] BatchInserter exhausting heap...?

2011-06-02 Thread Paul Bandler
folks? Sent from my iPhone On 1 Jun 2011, at 20:52, Michael Hunger wrote: > props passed in to the batchinserter > look into messages log > you see the different gc behaviour > > Michael > > Sent from my iBrick4 > > > Am 01.06.2011 um 20:44 schrieb Paul Band

Re: [Neo4j] BatchInserter exhausting heap...?

2011-06-01 Thread Paul Bandler
my iBrick4 > > > Am 01.06.2011 um 19:18 schrieb Paul Bandler : > >> I have a simple program that uses the BatchInserter to load rows from a SQL >> database and am running it on a modestly configured Windows machine with 2GB >> of RAM and setting the max heap to

[Neo4j] BatchInserter exhausting heap...?

2011-06-01 Thread Paul Bandler
I have a simple program that uses the BatchInserter to load rows from a SQL database and am running it on a modestly configured Windows machine with 2GB of RAM and setting the max heap to 500M. Initially it was running out of memory quite soon so I introduced a flush after every 5000 nodes and

[Neo4j] NEO4J -Newbie Q - How best to query a typed object graph...

2011-05-24 Thread Paul Bandler
m by my own ‘id’, so it is the best option to ‘simply’ iterate thru’ the > entire collection (or subset based on indexed retrieval) of the target type > and write code to evaluate each node against my criteria, traversing the > relationships out from the node as nec

Re: [Neo4j] Newbie question: Can a Neo4j HA cluster host embedded applications

2011-05-17 Thread Paul Bandler
t;yours." > > Which means you can run HA whether your database instances are embedded > within your process or within our process (aka the server). The HA protocol > doesn't care - it only cares that it can connect to the right ports on the > instances in the clus

[Neo4j] Newbie question: Can a Neo4j HA cluster host embedded applications

2011-05-17 Thread Paul Bandler
plication instance hosted on each cluster server > instance such that it accesses NEO4J using its local API’s? Perhaps along > similar lines is it possible for the web admin tool be used to browse an > embedded Neo4j database? > Regards, Paul Bandler

Re: [Neo4j] Color suggestions for the Self-Relationship bike shed

2011-05-16 Thread Paul Bandler
+1 for 1 Sent from my iPhone On 16 May 2011, at 14:32, Rick Bullotta wrote: > +1 for option 1. > > -Original Message- > From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On > Behalf Of Tobias Ivarsson > Sent: Monday, May 16, 2011 8:12 AM > To: Neo user discussio