Hi mah,

you are probably right. I just want to do some calculations (changeset 
calculation of sub graphs) in a rather small, temporary graph and then throw 
this graph away and write the resulted changeset to the persistent graph db. So 
I just thought that I wouldn't really need this small temporary graph on disk, 
but rather then just in memory ;-)
Maybe ImpermanentGraphDatabase + the right caching settings will do the job and 
the small, temporary graph probably won't never be written to disk.

Cheers,

Bo

----- Ursprüngliche Nachricht -----
Von: Mahmood Shafeie Zargar
Gesendet: 02.07.2014 18:06
An: [email protected]
Betreff: [Neo4j] Re: Can neo4j be run in memory only?

I think Michael's question is still valid here: What do you intend to achieve 
by using an in-memory graph? Of course if the available memory is limited as 
compared to the volume of graph data, any in-memory solution will have to 
resort to some kind of disk-based paging once memory is full. If what you are 
trying to solve is performance issues, there are ways to make Neo4j keep 
everything in memory, but that needs ample memory and some customized handling 
of caching and memory allocation parameters. 



Ref:

http://docs.neo4j.org/chunked/milestone/configuration-caches.html


http://docs.neo4j.org/chunked/stable/configuration-io-examples.html


http://docs.neo4j.org/chunked/stable/configuration-jvm.html





Principally if you make enough memory available to Neo4j, manually set memory 
map sizes and opt for strong caching you should get the equivalent of an 
in-memory graph after one traversal over the whole graph. With strong caching 
Neo4j doesn't ever kick anything out of cash once loaded.




Cheers,

Mah




 -- 
You received this message because you are subscribed to a topic in the Google 
Groups "Neo4j" group.
 To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/neo4j/3pL6Zt4FhoI/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to 
[email protected].
 For more options, visit https://groups.google.com/d/optout.
 

-- 
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