Setting for high volume inserts/ possible memory leaks?

100 views
Skip to first unread message

Karthik Ramachandran

unread,
Apr 3, 2012, 9:15:19 AM4/3/12
to Neo4j
Hi,

I'm trying to configure a Neo4J instance running on a 4 core machine
with 8 gigs of memory to maximize insert performance via a REST API.
I'm using the Plugins feature to create my own API. I'm also hitting
the server with 84 clients located on separate boxes.

What I'm seeing is that the jvm runs out of memory rather quickly, in
about an hour or two. The only memory related settings I changed are
heap size, and turned on the NUMA option: -Xxmx4096M -XX:+UseNUMA -XX:
+UseParallelGC.

What I'm looking for is some insight into what an ideal configuration
would look like for maximum input performance. And any thoughts on
why this might be leaking.

Thanks
Karthik

Peter Neubauer

unread,
Apr 3, 2012, 10:54:25 AM4/3/12
to ne...@googlegroups.com
Karthik,
there is some info here,
http://docs.neo4j.org/chunked/snapshot/configuration-io-examples.html#_batch_insert_example.
I think the rule is that you should try to memory map the node and
relationship stores at least.

Cheers,

/peter neubauer

G:  neubauer.peter
S:  peter.neubauer
P:  +46 704 106975
L:   http://www.linkedin.com/in/neubauer
T:   @peterneubauer

Neo4j                                - Graphs rule.
Program or be programmed - Computer Literacy for kids.
http://foocafe.org/#CoderDojo

Reply all
Reply to author
Forward
0 new messages