Do not call calibredb separately for each file. Every time you call calibredb, it has to load the entire db into memory. Instead use the multiple book adding options of calibredb.
It is on my todo list to add a a client/server mode for calibredb, so you can avoid this overhead.
|