Curtis, can you clarify what you mean by caching, and how you are determining that things are getting cached?
If you are talking about caching of the actual data, note that there are several layers of caching - the OS will cache files in its page cache, for instance. If you want to work around that in your testing you need to ask the operating system to flush its caches. /j On Wed, Nov 19, 2014 at 7:36 AM, 'Curtis Mosters' via Neo4j < [email protected]> wrote: > Well for my Benchmark I need a clear Cache because otherwhise Neo4j is > always caching and faking my results in a bad way. > > So I tried: > cache_type=none > cache.memory_ratio=0.0 > > > > in the neo4j.properties. Had no real impact still caching. > > Also found something from Michael with jconsole: > http://stackoverflow.com/questions/26189351/neo4j-server-clear-the-cache-in-ram > But really no idea what he means. =( I meant the JMX call I found > http://stackoverflow.com/questions/12621963/clear-ehcache-of-remote-server > But also not sure if it is the right thing to clear. > > Here I found infos about the caching: > http://neo4j.com/docs/stable/configuration-caches.html > But nothing worked or was in my mind useful to test. > > Then I gone through all settings here: > http://neo4j.com/docs/stable/kernel-configuration.html > But yeah except the two lines above nothing looking satisfying. Even tried > query_cache_size=0 but here I got a funny error message then, so yeah dunno > what that setting means. > > Then I was thinking that setting the neo_mapping stuff to 0 might help. > But then I found > http://grokbase.com/t/gg/neo4j/1312y592r4/caching-the-whole-graph which > says that setting to 0 is like limiting to infinity. > > Ohman so nothing worked to disable the cache. Why is it so hard to give a > setting disable cache or clearing the cache after server is shut down. > > Really need this =/ > > Thank you > > -- > 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. > -- 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.
