You should be able to create just one chronicle and reuse it. If you are using vanilla chronicle, it would create a file for each thread and I suggest you only use a limited number of threads if you want an efficient solution.
We recommend using a 64 bit jvm as you can rapidly run out of virtual memory on a 32 bit jvm.
Finally if you are going to create lots of threads, you really want linux as it supports sparse files. Ie you only use on disk the number of pages touched not the 64 MiB you see.
--
You received this message because you are subscribed to the Google Groups "Chronicle" group.
To unsubscribe from this group and stop receiving emails from it, send an email to java-chronicl...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
The next version of chronicle will be easier to use for those who can not control their use of threads. In the mean time you could use an ExecutorService with a small pool (possibly 1 thread)
You have to delete files externally. There isn't currently s means of deleting files for you. The assumption is you have plenty of space and a simple script to remove old files. This might not be a valid assumption and it might make sense to support this in the library.
If you shutdown in middle of writing a message, the whole message is lost. Once you finish() a message you don't need to do anything.
The close() is provided only to reduce resources for a running process eg one doing many unit tests. If your process dies it cleans them up anyway.
Note : if you use a BlockingQueue unwritten messages will be lost on a shutdown.