sbtourist / Journal.IO

Journal.IO is a zero-dependency, fast and easy-to-use journal storage implementation.
Apache License 2.0
260 stars 39 forks source link

using a lot CPU #58

Open sqlboy opened 10 years ago

sqlboy commented 10 years ago

I noticed when I have a few empty journal files around journal.io uses a lot of CPU when I iterate the redo even though all the entries are deleted. It also uses quite a bit of memory with a lot of journal files, which is what I'd like to avoid by using an on-disk journal.

sqlboy commented 10 years ago

This possibly open happens with iterating with undo.

mufumbo commented 4 years ago

same here, queue never gets cleaned up, even when calling compact()