Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Viewer

Notices

Reply
 
Thread Tools Search this Thread
Old 11-04-2025, 09:54 AM   #1
LordP
Addict
LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.
 
Posts: 207
Karma: 1341124
Join Date: Aug 2010
Device: Kindle 3
Preparing book for first read

I have this issue from time to time, and I'm a bit confused as to where I should find an answer.

I found some websites and a couple of threads here dealing with this problem, but I think my problem is a bit different.

In this post: https://www.mobileread.com/forums/sh...d.php?t=357110
Solo1959 has the problem every time.

It's a bit different for me. I can open several epubs, one after the other - no problem. Then one epub will take a bit over a minute, and the next time that same epub takes no time at all.

I can open an epub quickly several times, and then, for whatever reason, that same epub will be very slow to open.

I'm on Windows 11 Pro. i9-13900K, with 64 GB of RAM - my system is not underpowered.

Any ideas?
LordP is offline   Reply With Quote
Old 11-04-2025, 04:39 PM   #2
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 22,029
Karma: 30277294
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Calibre caches recently read books in the user %appdata% folder. If that resides on an SSD then it's competing for what is probably a limited resource, as a consequence cached data has to be flushed.

If you have a hard disk, try relocating calibre's cache via the CALIBRE_CACHE_DIRECTORY Environment variable

BR
BetterRed is offline   Reply With Quote
Old 11-04-2025, 07:16 PM   #3
LordP
Addict
LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.
 
Posts: 207
Karma: 1341124
Join Date: Aug 2010
Device: Kindle 3
"Calibre caches recently read books in the user %appdata% folder. If that resides on an SSD then it's competing for what is probably a limited resource, as a consequence cached data has to be flushed."

I'm not 100% clear on what you mean, but I have to ask...do you think it would take more than a minute to flush cached data?

The main calibre program starts almost instantly. When in the main program, all books open instantly.

So, I think there must be a difference between the main program and the viewer.

Am I wrong?
LordP is offline   Reply With Quote
Old 11-04-2025, 10:18 PM   #4
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 22,029
Karma: 30277294
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by LordP View Post
"Calibre caches recently read books in the user %appdata% folder. If that resides on an SSD then it's competing for what is probably a limited resource, as a consequence cached data has to be flushed."

I'm not 100% clear on what you mean, but I have to ask...do you think it would take more than a minute to flush cached data?
No but it might take more than a minute to recreate what was there when the book is viewed again

Quote:
Originally Posted by LordP View Post
The main calibre program starts almost instantly. When in the main program, all books open instantly.
What does that mean - does it mean open in the calibre viewer, or open in the relevant OS default viewer - e.g. PDF in Acrobat.

Quote:
Originally Posted by LordP View Post
So, I think there must be a difference between the main program and the viewer.

Am I wrong?
The main calibre program, the book-viewer and the book editor are discrete programs. On Windows :

Click image for larger version

Name:	Screenshot 2025-11-05 130542.jpg
Views:	8
Size:	269.0 KB
ID:	219073

The .exe's I haven't highlighted, are the command line programs shipped with calibre.

Which OS are you running -Linux, MacOS or Windows?

BR
BetterRed is offline   Reply With Quote
Old Yesterday, 04:46 AM   #5
LordP
Addict
LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.
 
Posts: 207
Karma: 1341124
Join Date: Aug 2010
Device: Kindle 3
Quote:
What does that mean - does it mean open in the calibre viewer, or open in the relevant OS default viewer - e.g. PDF in Acrobat.
The Calibre viewer.

I see this path: C:\Program Files\Calibre2\

Do I create a new path for the cache like this: D:\cache\CALIBRE_CACHE_DIRECTORY

Or do I move the whole thing to my D drive?

Thanks.
LordP is offline   Reply With Quote
Old Yesterday, 07:22 AM   #6
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 22,029
Karma: 30277294
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Create folder on your D: drive called say CalibreCache

Then follow the instructions that are in the the Environment Variable page in the manual, here 'tis ==>> How to set environment variables in Windows

You need to navigate to here in Windows Settings

Click image for larger version

Name:	Screenshot 2025-11-05 221851.jpg
Views:	10
Size:	161.4 KB
ID:	219075

BR
BetterRed is offline   Reply With Quote
Old Yesterday, 07:33 AM   #7
LordP
Addict
LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.
 
Posts: 207
Karma: 1341124
Join Date: Aug 2010
Device: Kindle 3
Quote:
Originally Posted by BetterRed View Post
Create folder on your D: drive called say CalibreCache

Then follow the instructions that are in the the Environment Variable page in the manual, here 'tis ==>> How to set environment variables in Windows

You need to navigate to here in Windows Settings

Attachment 219075

BR
I got all that, and I also know where and how to change it.

What is still unclear is if I move the WHOLE FOLDER to my D drive, or only "CALIBRE_CACHE_DIRECTORY", <- this is what all the instructions mention.

If I look at this page: https://manual.calibre-ebook.com/cus...ment-variables

CALIBRE_CACHE_DIRECTORY is only one of several environment variables, so, do I move all of them or that entire Calibre2\ folder, or...?

What the heck do I type here:

Variable Name: ___________________
Variable Value:____________________
LordP is offline   Reply With Quote
Old Yesterday, 04:26 PM   #8
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 22,029
Karma: 30277294
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Environment variables are discrete, they are set individually.

Click image for larger version

Name:	Screenshot 2025-11-06 070248.jpg
Views:	11
Size:	36.4 KB
ID:	219081

Don't move anything into D:\CalibreCache, let calibre take care of it.

If relocating the cache doesn't help, try relocating calibre's temporary storage via the CALIBRE_TEMP_DIR Environment variable.

BR
BetterRed is offline   Reply With Quote
Old Yesterday, 05:48 PM   #9
LordP
Addict
LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.
 
Posts: 207
Karma: 1341124
Join Date: Aug 2010
Device: Kindle 3
Thank you.

All the sites I found say the same thing: relocate CALIBRE_CACHE_DIRECTORY to a hard drive - not a single one of those sites have the one thing you provided, an example.

Thanks again.
LordP is offline   Reply With Quote
Old Today, 09:05 AM   #10
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,814
Karma: 150249619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
My laptop only has an SSD. I find no slowdown with the viewer because of not having a hard drive.
JSWolf is offline   Reply With Quote
Old Today, 09:41 AM   #11
LordP
Addict
LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.
 
Posts: 207
Karma: 1341124
Join Date: Aug 2010
Device: Kindle 3
Quote:
Originally Posted by JSWolf View Post
My laptop only has an SSD. I find no slowdown with the viewer because of not having a hard drive.
Are you saying it might not be the problem?

I guess time will tell.
LordP is offline   Reply With Quote
Old Today, 04:51 PM   #12
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 22,029
Karma: 30277294
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@Jon, the issue is not SSD as such, it's the capacity of the C: drive.

My 12 year old Dell desktop would have come with a 64GB SSD had I not swapped it for a 256GB SSD, today's equivalent comes with a 1TB SSD, twice as much RAM and its less than half the nominal price

BR
BetterRed is offline   Reply With Quote
Old Today, 05:41 PM   #13
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,814
Karma: 150249619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by LordP View Post
Are you saying it might not be the problem?

I guess time will tell.
Does the drive the book cache is on have enough space?
JSWolf is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Preparing Book for First Read, Please Wait Solo1959 Viewer 2 11-09-2023 04:21 PM
Preparing for First Read DickD Viewer 5 09-30-2021 11:52 AM
Stop the "preparing book for first read" notice? Elaine T Viewer 3 11-29-2020 12:16 AM
e-book viewer; preparing book for first read fvdham Library Management 7 05-15-2020 08:07 AM
Preparing old book for EPUB CazMar ePub 3 07-07-2011 11:53 PM


All times are GMT -4. The time now is 11:43 PM.


MobileRead.com is a privately owned, operated and funded community.