Re: [Tracker] Cache size




Gonsolo wrote:
Hi!

It should be possible to limit the size of the cache
under ~/.cache/tracker.
Mine is now 180MB which is way to much.
Is the cache compressed in any way? Would it be possible to do this (e.g. LZW compression doesn't cause too much speed problem). I'm not sure, but there might be a hardware implementation of this algorithm for embedded devices.

One thing you could try Gonsolo, is running tracker-preferences:
Go to "Performance", Indexing Limits (per file) and lower the numbers (max amount of text and max unique words). Then go to "Ignored Files" and add some file extensions which you don't want indexed (e.g. *.htm *.html).

Jamie wrote:
the index is stored in the cache directory so cant be limited directly
For tracker to be lightweight I think there should be some sort of size limit possible - e.g. for small (possibly embedded) systems with extremely limited storage. Among other things it would prevent a possible bug (I'm sure there isn't one, but it could happen) from eating up all the space in your home directory.

Obviously a size limit (which doesn't simply involve a lossless compression algorithm) means less data is being indexed... so in this instance there would need to be a system where certain file types take priority... probably user-customisable, e.g. e-mails first, then pdfs... html last. It would be quite a big job though - as it changes how the indexer works.

Erlend



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]