Hi all!
I'm using python embedded in order to classify all the nodes in a neo4j
graph previously labeled with properties.
The graph is about 3.9GB with 7M nodes and 30-40M relationships. I've two
questions:
1- the program worked correctly for hours then crashed suddenly with this
error:
Traceback (most recent call last):
File ''assegnaCategoria.py'', line l4, in <module>
  for n in db.nodes:
File ''/usr/local/lib/python2.6/dist-packages/neo4)/ _ init _ .py'', line
44, in _ getitem _
 return sel_.get(items)
File ''/usr/local/lib/python2.6/dist-packages/neo4)/ _ init _ .py'', line
6l, in get
rethrow current exception as(KeyError)
File ''/usr/local/lib/python2.6/dist-packages/neo4)/util.py'', line 76, in
rethrow_current_exception_as
raise ErrorClass(msg)
KeyError: u'Node[9327924]'

2-the program is very slow.I started it at 18 pm end it crashed at ~65% of
the work at 4 am It only reads the database, never changing it, is there a
way to set it to use the cache intensively? I would put it in /dev/shm/ but
my RAM is 3GB and the database is bigger.

The code is this http://codepad.org/leSwqhnc

Cheers,
Jacopo
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to