View Single Post
Old 09-01-2014, 12:13 PM   #24
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by DNSB View Post
The file I was looking at is the database.db file that, AFAIK, is the only file loaded into memory when Calibre starts up. My point was that with >2000 books, the database is less than 5MB. My point was that with such a small file (well, by today's standards -- I remember using 8" single density floppy disks -- it's memory usage is going to be lost in the round off errors calculating memory use.

Regards,
David
Calibre doesn't simply read the file into memory. Instead it builds a large number of data structures that increase memory usage by orders of magnitude. I have personal experience of a laptop with 1.5GB of RAM thrashing when I opened my 2400 book calibre library, taking minutes to start. A 200 book test library opened in seconds. Of course calibre wasn't the only thing running, but then calibre is *never* the only thing running. I ended up replacing that laptop. YMMV.
chaley is offline   Reply With Quote