View Single Post
Old 11-19-2015, 04:20 PM   #155
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by jackie_w View Post
That's a relief Thanks for finding the time.


Yes. Calibre appears to create a new Temp directory each time it's opened which gets deleted on closure. I didn't find a clean-up-as-you-go function but that doesn't mean there isn't one. I'll take another look.
There must be something, because I am pretty sure conversions do just that.

But I think you may be creating one or two extra copies of some data as well, which should probably be optimized.

I had two identical copies of the original book in the main Temp directory, a third copy in format_abspath, and the unpacked version.

Given I have once or twice nearly crashed my computer by accidentally starting to convert dozens (60+) books at a time... because on linux, $TMP is a ramdisk...
I am understandably wary of anything that dumps multiple hundreds of MB into $TMP without actually needing to.
eschwartz is offline   Reply With Quote