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 Yesterday, 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: 205
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 Yesterday, 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,024
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 online now   Reply With Quote
Old Yesterday, 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: 205
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 Yesterday, 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,024
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:	7
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 online now   Reply With Quote
Old Today, 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: 205
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 Today, 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,024
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:	7
Size:	161.4 KB
ID:	219075

BR
BetterRed is online now   Reply With Quote
Old Today, 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: 205
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 Today, 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,024
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:	1
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 online now   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 04:44 PM.


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