Re: [Tracker] Cache size



On Sun, 2007-08-26 at 14:18 +0100, Erlend Davidson wrote:
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.


the full text stuff is zipped already

the index (word->hits blob) itself will not benefit from compression 



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.


for embedded systems we will optimize it a lot more - both memory and
disk space would need to be kept to  a minimum



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
_______________________________________________
tracker-list mailing list
tracker-list gnome org
http://mail.gnome.org/mailman/listinfo/tracker-list






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