Re: [Neo4j] java.lang.OutOfMemoryError: PermGen space

2011-08-12 Thread Michael Hunger
coder.encode(params, "UTF-8") In the future it will be possible to use json for that like: POST "http://localhost:7474/db/data/ext/GremlinPlugin/graphdb/execute_script"; { "script" : "g.v(id).outE", "params" : { "id" : 100 } }

Re: [Neo4j] cant use index after commit

2011-08-12 Thread Mattias Persson
Starting/shutting down a GraphDatabaseService is expensive due to potentially heavy I/O. You shouldn't do any of those more than once during an application lifecycle. 2011/8/12 ahmed.elsharkasy > This is system related or an issue in neo4j ? > > -- > View this message in context: > http://neo4j-

[Neo4j] neo4j spatial and postgis

2011-08-12 Thread chen zhao
Hi, I very interested in neo4j spatial . but I do not know how to import the spatial data. My data are stored in postgis. I read the document " http://wiki.neo4j.org/content/Spatial_Data_Storage"; and " http://wiki.neo4j.org/content/Importing_and_Exporting_Spatial_Data",but I yet do not know to t

[Neo4j] Database error

2011-08-12 Thread sometime
After I installed the base (1.4 community) - I felt it necessary to fill existing data (users of the system and relations between them). Total users about 1.6 million and 4.5 million links. I wrote a robot, using REST-requests and creates the necessary link between the top two. After I ran it and

Re: [Neo4j] Database error

2011-08-12 Thread Jim Webber
Did your robot use the REST batch API or the normal REST API? Jim ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] Enhanced API wiki page

2011-08-12 Thread Niels Hoogeveen
Hi Peter, I have given your criticism that the API is too heavy to grasp some more thought. I do agree with your assessment that it is heavy to grasp, but don't really know how to make it simpler. N-ary edges (Hyperrelationships) are complex beasts compared to Relationships as defined in

[Neo4j] LMAX Disruptor Concurrency Model

2011-08-12 Thread McKinley
I wanted to bring this article the attention of Neo4j engineers. I'm sure many of you have already seen it. The LMAX concurrency system seems to have a few peculiar limitations, but also very specific attention to real hardware limitations. Perhaps their approach to concurrency might have some bene

Re: [Neo4j] Replication corner cases?

2011-08-12 Thread Tuure Laurinolli
On Aug 11, 2011, at 23:26 , dhsieh wrote: > According to http://docs.neo4j.org/chunked/stable/ha-architecture.html, this > is my understanding and I would like for confirmation from Neo4j: > > A slave will handle writes by synchronizing with the master to preserve > consistency. >>> It sounds l

Re: [Neo4j] Heroku Beta: Neo4j - A Rails Example?

2011-08-12 Thread Michael Hunger
The point is: You don't want to run your webapp in your database. A customer facing rails3 app is an webapp with lots of javascript, UI, images, views etc which also has to be scaled to many instances. On the other hand it needs data to work with. The source of the data is a database in this ca

Re: [Neo4j] Heroku Beta: Neo4j - A Rails Example?

2011-08-12 Thread Michael Hunger
Sasha you can clone the example github repo (that's also mentioned in the docs): https://github.com/tbaum/script-extension-example Remove the .git directory and add it as a new repo to your github account. Feel free to change whatever you'd like (Gemfile, code, whatever). Michael Am 12.08.2011