My need is to use neo4j embedded in my java appliation . As I do not want to store anything on file system, I want to create my database in-memory. Is it possible in neo4j when it is embedded in my java application?
Asked
Active
Viewed 217 times
0
-
just to be clear, you want to lose your data when your application shuts down, right? – Michal Bachman Sep 21 '13 at 07:12
2 Answers
1
Run your graph db on a mountpoint using tmpfs and disable file buffer caches (use_memory_mapped_buffers=false).

Stefan Armbruster
- 39,465
- 6
- 87
- 97
0
You can use ImpermanentGraphDatabase if you want a temporary per request graph model. Or you can try TinkerGraph's in-memory capabilities and use Gremlin for querying/

Aravind Yarram
- 78,777
- 46
- 231
- 327