Hi Michael,

Thanks for the tip. I totally missed the comment signs :-) 

However I removed them and still the server crashes. Also, could you be 
more specific which lines of the neo4j.properties do I have to change ? I 
see the following lines:

# Default values for the low-level graph engine
#neostore.nodestore.db.mapped_memory=25M
#neostore.relationshipstore.db.mapped_memory=50M
#neostore.propertystore.db.mapped_memory=90M
#neostore.propertystore.db.strings.mapped_memory=130M
#neostore.propertystore.db.arrays.mapped_memory=130M

Thanks, Alex

On Wednesday, January 22, 2014 8:00:53 PM UTC-5, Michael Hunger wrote:
>
> You have to remove the comment signs (#) at the beginning of the lines in 
> the config file.
>
> # Initial Java Heap Size (in MB)
> wrapper.java.initmemory=6400
>
> # Maximum Java Heap Size (in MB)
> wrapper.java.maxmemory=6400
>
> I assume you have JDK 7_21 or _25 running which consequently only 
> allocates a tiny bit of memory.
>
> You should also look into conf/neo4j.properties and adapt the memory 
> mapping setting to roughly match the store-file sizes in data/graph.db
> Usually this works automatically, but just in case :)
>
> Cheers
>
> Michael
>
>
>
> On Wed, Jan 22, 2014 at 11:19 PM, Alx <[email protected] <javascript:>>wrote:
>
>> I am new to Neo4j and I started playing with DocGraph (
>> https://dl.dropboxusercontent.com/u/57740873/neo_doc_v1.tar.gz) . It is 
>> a 1.8 database describing referrals between physicians. The database is 
>> loaded to Neo4j but when I try to do any query from the webrowser the 
>> server crashes. I checked the log and here is the output:
>>
>> 2014-01-22 21:51:39.453+0000 WARN  [o.n.k.EmbeddedGraphDatabase]: GC 
>> Monitor: Application threads blocked for an additional 905ms [total block 
>> time: 7.715s]
>> 2014-01-22 21:51:40.327+0000 WARN  [o.n.k.EmbeddedGraphDatabase]: GC 
>> Monitor: Application threads blocked for an additional 774ms [total block 
>> time: 8.489s]
>> 2014-01-22 21:51:41.456+0000 WARN  [o.n.k.EmbeddedGraphDatabase]: GC 
>> Monitor: Application threads blocked for an additional 1029ms [total block 
>> time: 9.518s]
>> 2014-01-22 21:51:42.542+0000 WARN  [o.n.k.EmbeddedGraphDatabase]: GC 
>> Monitor: Application threads blocked for an additional 954ms [total block 
>> time: 10.472s]
>> 2014-01-22 21:51:43.779+0000 WARN  [o.n.k.EmbeddedGraphDatabase]: GC 
>> Monitor: Application threads blocked for an additional 1137ms [total block 
>> time: 11.609s]
>> 2014-01-22 21:51:44.815+0000 WARN  [o.n.k.EmbeddedGraphDatabase]: GC 
>> Monitor: Application threads blocked for an additional 892ms [total block 
>> time: 12.501s]
>>
>> I increased the Java memory. Here are the settings when the server starts:
>>
>> 2014-01-22 21:48:51.389+0000 INFO  [o.n.k.i.DiagnosticsManager]: System 
>> memory information:
>> 2014-01-22 21:48:51.390+0000 INFO  [o.n.k.i.DiagnosticsManager]: Total 
>> Physical memory: 16.00 GB
>> 2014-01-22 21:48:51.391+0000 INFO  [o.n.k.i.DiagnosticsManager]: Free 
>> Physical memory: 1.41 GB
>> 2014-01-22 21:48:51.391+0000 INFO  [o.n.k.i.DiagnosticsManager]: 
>> Committed virtual memory: 2.75 GB
>> 2014-01-22 21:48:51.392+0000 INFO  [o.n.k.i.DiagnosticsManager]: Total 
>> swap space: 1.00 GB
>> 2014-01-22 21:48:51.392+0000 INFO  [o.n.k.i.DiagnosticsManager]: Free 
>> swap space: 841.50 MB
>> 2014-01-22 21:48:51.392+0000 INFO  [o.n.k.i.DiagnosticsManager]: JVM 
>> memory information:
>> 2014-01-22 21:48:51.393+0000 INFO  [o.n.k.i.DiagnosticsManager]: Free 
>>  memory: 2.06 MB
>> 2014-01-22 21:48:51.393+0000 INFO  [o.n.k.i.DiagnosticsManager]: Total 
>> memory: 7.00 MB
>> 2014-01-22 21:48:51.393+0000 INFO  [o.n.k.i.DiagnosticsManager]: Max   
>> memory: 121.88 MB
>> 2014-01-22 21:48:51.394+0000 INFO  [o.n.k.i.DiagnosticsManager]: Garbage 
>> Collector: ParNew: [Par Eden Space, Par Survivor Space]
>> 2014-01-22 21:48:51.395+0000 INFO  [o.n.k.i.DiagnosticsManager]: Garbage 
>> Collector: ConcurrentMarkSweep: [Par Eden Space, Par Survivor Space, CMS 
>> Old Gen, CMS Perm Gen]
>> 2014-01-22 21:48:51.396+0000 INFO  [o.n.k.i.DiagnosticsManager]: Memory 
>> Pool: Code Cache (Non-heap memory): committed=2.44 MB, used=703.75 kB, 
>> max=48.00 MB, threshold=0.00 B
>> 2014-01-22 21:48:51.396+0000 INFO  [o.n.k.i.DiagnosticsManager]: Memory 
>> Pool: Par Eden Space (Heap memory): committed=1.94 MB, used=1.86 MB, 
>> max=33.06 MB, threshold=?
>> 2014-01-22 21:48:51.396+0000 INFO  [o.n.k.i.DiagnosticsManager]: Memory 
>> Pool: Par Survivor Space (Heap memory): committed=192.00 kB, used=191.98 
>> kB, max=4.13 MB, threshold=?
>> 2014-01-22 21:48:51.397+0000 INFO  [o.n.k.i.DiagnosticsManager]: Memory 
>> Pool: CMS Old Gen (Heap memory): committed=4.88 MB, used=2.93 MB, max=84.69 
>> MB, threshold=0.00 B
>> 2014-01-22 21:48:51.397+0000 INFO  [o.n.k.i.DiagnosticsManager]: Memory 
>> Pool: CMS Perm Gen (Non-heap memory): committed=20.96 MB, used=13.16 MB, 
>> max=82.00 MB, 
>>
>> I have changed the JVM settings in  to:
>>
>> # Initial Java Heap Size (in MB)
>> #wrapper.java.initmemory=160
>>
>> # Maximum Java Heap Size (in MB)
>> #wrapper.java.maxmemory=6400
>>
>>
>> Do you have any suggestions on how to tackle this issue? Can anyone 
>> replicate my problem with the database above? 
>>
>> Thanks,
>> Alex 
>>
>>
>>
>>  -- 
>> 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] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
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/groups/opt_out.

Reply via email to