Hi Tobias,
This is through 101 levels of abstraction (tinkerpop stack) so the
Open/Close method will do as a first step.

Thanks,
Alex

On Mon, Dec 27, 2010 at 2:56 PM, Tobias Ivarsson <
[email protected]> wrote:

> Shutdown and reopen will work.
>
> If you also want to flush the operating systems file system cache you will
> have to go dd some other (large) file.
>
> If all you want to do is clear the internal object cache you can do this
> through the Neo4j Cache management bean:
>
>   EmbeddedGraphDatabase graphDb = ...
>
> org.neo4j.management.Cache cache =
> graphDb.getManagementBean(org.neo4j.management.Cache.class);
>
> cache.clear();
>
> Cheers,
> Tobias
>
> On Mon, Dec 27, 2010 at 2:13 PM, Alex Averbuch <[email protected]
> >wrote:
>
> > Hey,
> > I want to flush the Neo4j cache (for benchmarking reasons).
> > If I shutdown the database and then reopen it will it do the trick, or is
> > there something else I need to do?
> >
> > Cheers,
> > Alex
> > _______________________________________________
> > Neo4j mailing list
> > [email protected]
> > https://lists.neo4j.org/mailman/listinfo/user
> >
>
>
>
> --
> Tobias Ivarsson <[email protected]>
> Hacker, Neo Technology
> www.neotechnology.com
> Cellphone: +46 706 534857
> _______________________________________________
> Neo4j mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user
>
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to