What are you doing? Can you share the type of workload / queries / code that 
you run?

Which version are you using?

According toy our messages.log it spends all time trying to free memory 
(causing the spike).

> wrapper.java.maxmemory=800
-> you forgot to add a suffix here, so you do 800 bytes of heap not 800mb
change to

> wrapper.java.maxmemory=800M

800M heap are ok for smallish use-cases.

And you should 
1. upgrade to 2.2.x
2. alternatively use more memory for memory mapping

> # Default values for the low-level graph engine
> neostore.nodestore.db.mapped_memory=100M
> neostore.relationshipstore.db.mapped_memory=500M
> neostore.relationshipgroupstore.db.mapped_memory=50M
> neostore.propertystore.db.mapped_memory=500M
> neostore.propertystore.db.strings.mapped_memory=250M
> neostore.propertystore.db.arrays.mapped_memory=30M



> Am 10.05.2015 um 16:24 schrieb Arun Kumar <[email protected]>:
> 
> Hi,
> 
> Neo4j server CPU spikes up to 90% (and higher) as the node size increases to 
> 50 MB.. Initially the CPU is well under 15% and suddenly spikes to 90% once 
> certain size limit is reached. I have turned OFF the logs as well. 
> 
> Below is the neo4j size configuration..
> 
> # Default values for the low-level graph engine
> neostore.nodestore.db.mapped_memory=40M
> neostore.relationshipstore.db.mapped_memory=40M
> neostore.propertystore.db.mapped_memory=150M
> neostore.propertystore.db.strings.mapped_memory=70M
> neostore.propertystore.db.arrays.mapped_memory=30M
> 
> keep_logical_logs=false
> keep_logical_logs=3 days
> 
> Below is the heap size and JVM configuration..
> # Initial Java Heap Size (in MB)
> wrapper.java.initmemory=800
> 
> # Maximum Java Heap Size (in MB)
> wrapper.java.maxmemory=800
> 
> wrapper.java.additional=-XX:+UseConcMarkSweepGC
> wrapper.java.additional=-XX:+CMSClassUnloadingEnabled
> wrapper.java.additional=-XX:NewRatio=3
> wrapper.java.additional=-d64
> wrapper.java.additional=-server
> wrapper.java.additional=-Xss2048k
> wrapper.java.additional=-XX:+UseParNewGC
> 
> I have attached message.log .. 
> 
> Would appreciate any guidance in this issue.
> 
> Thanks,
> Arun.
> 
> 
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.
> <message.log>

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to