![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
100,000 temp files ???
running a defrag with calibre idling in system tray.
I note a lot of temp files being defraged & check app data .. local...temp. I see 8 x calibre folders - 4 with 7.40 in the name, 4 with 7.42. each of the 7.42.... folders contains 25,000 files - I have done several conversions today but 25000 files ??? - should the program not clean up after itself ? e.g. - paste from properties - 25,427 Files, 12 Folders what is all that about ? I force calibre to close completely as next test, but there is still one folder with 25000+ files in it! |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,219
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
As long as calibre closes cleanly, temporary files used by that instance of calibre are removed.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
Quote:
so they build up over time, I close it only to do program updates. It's no big deal - I probably have other things that wipe all temp files over a certain age which get run regularly. but wiping temp files after a conversion ends rather than only when program is closed may be better housekeeping ? and clearing old temp folders when program first starts would take care of stuff left by previous crashes or forces shutdowns. PS nitpicking even more! - I think it removes files but leaves temp empty folders I did zap calibre with task manager a couple of times in the last few days, when I overloaded it & sigil, playing with pdf conversions after 7.42 release, so that would have boosted the number of stray temp files I guess. there was I think 156MB of calibre temp file space, and 4 x 25,000 individual files in local temp folders Last edited by cybmole; 01-23-2011 at 04:11 PM. |
|
![]() |
![]() |
![]() |
#4 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 183
Karma: 266070
Join Date: Dec 2010
Device: Win7,Win10,Lubuntu,smartphone
|
I have noticed the same problem with empty folders in ...\user...\temp directory. UNTIDY! Had to tell external program to wipe them.
|
![]() |
![]() |
![]() |
#5 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,707
Karma: 32763414
Join Date: Dec 2008
Location: Krewerd
Device: Pocketbook Inkpad 4 Color; Samsung Galaxy Tab S6
|
I always close my Calibre nicely. And yet it never cleans those temp folders...
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,249
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
In case it sheds any light on the situation, I just opened calibre and closed it again immediately.
These zero-length files were not deleted. I then rebooted the PC, the files were still there. I'm using Windows XP SP3 in case it's relevant. Spoiler:
|
![]() |
![]() |
![]() |
#7 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,890
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
I start up calibre from a batch file and never have to worry about old temp files or folders.
Spoiler:
|
![]() |
![]() |
![]() |
#8 |
Groupie
![]() ![]() ![]() Posts: 180
Karma: 299
Join Date: Jul 2010
Location: Brampton ON
Device: Kobo, Kindle3
|
My way of handling temp files is to get rid of them daily. I'm aided in this by the fact that I don't run calibre round-the-clock in the systray. I normally update and add whatever books on Saturdays while giving my Kindle a charge-up at the same time. For me, I do a backup every day using Drive Snapshot. Drive Snapshot will empty the recycle bin. So, I use EmptyTempFolders and CCleaner to take a double-pass at getting rid of temp files that might be scattered about. I have, at last count, seven folders on C: alone called Temp. ETF2 does a good job of hacking away at those. CCleaner is a good fail-safe for ETF2 and gets at a few other places ETF2 isn't set up for.
So, my daily backup batch file, run at the ungawdly hour of 8:01am, has these lines at the beginning: Code:
cd \apps\utils\EmptyTempFolders emptemp2.exe /all cd \apps\utils\CCleaner CCleaner.exe /auto GM |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Temp files... | BadGandalf | Calibre | 17 | 10-24-2010 11:38 AM |
Temp files | Jeff L | Calibre | 3 | 10-14-2010 05:58 PM |
Calibre files left in Temp folder | itimpi | Calibre | 8 | 05-06-2009 06:15 AM |
There are more than 100,000 Kindle books now | lovebeta | Amazon Kindle | 12 | 02-01-2008 07:43 AM |