Author Topic: Anywhere very slow after purging cache  (Read 787 times)

neal

  • Jr. Member
  • *
  • Posts: 73
Anywhere very slow after purging cache
« on: April 01, 2021, 01:14:33 PM »
Mario,
Just when I thought everything was fixed, when I opened Anywhere, it took a long time for the images to appear. Also, many of the pdfs had no image, only an icon. Is this results of purging the cache the other day to fix the IMatch problem of wrong thumbnails appearing? Previously, the thumbnails appeared very quickly and pdfs also showed up fine. Should I regenerate the cache for the entire DB, jpgs included? Is that going to bring back the old problem with the thumbnails in IMatch? I have attached the Anywhere logs.
Neal

neal

  • Jr. Member
  • *
  • Posts: 73
Re: Anywhere very slow after purging cache
« Reply #1 on: April 01, 2021, 01:22:03 PM »
After looking further, the problem seems to be on pages that contain pdfs. Shall I generate the cache for all pdfs?

thrinn

  • Super Hero
  • ****
  • Posts: 1003
Re: Anywhere very slow after purging cache
« Reply #2 on: April 01, 2021, 01:32:24 PM »
If you purged the cache, IMatch has to recreate the cache for all files (with the exception of JPGs if you have told it not create cache files for JPGs) when they are first accessed. To boost performance, you can regenerate the cache for all other file types (other than JPG) in one large go. This will, however, take some time, especially if you have a lot of PDFs.
Thorsten
Win 10 / 64, IMatch 2018, IMA

Mario

  • IMatch Developer
  • Administrator
  • *****
  • Posts: 29480
Re: Anywhere very slow after purging cache
« Reply #3 on: April 01, 2021, 02:58:07 PM »
This is what I would suggest too. You can re-create the cache on a per-folder basis (e.g. for your PDF files). Right-click on the folder to open the context menu > Cache > Rebuild.
File formats like PDF files and video files are very slow to process, compared to images. This is just how it is.

neal

  • Jr. Member
  • *
  • Posts: 73
Re: Anywhere very slow after purging cache
« Reply #4 on: April 02, 2021, 06:52:52 PM »
In IM, all the pdfs show the correct images in Quickview and Viewer and thumbnails. However, when I copy the DB to the Anywhere folder for using there, out of 3500 images, 200 images come up as pdf icons! Any ideas?
Neal

Mario

  • IMatch Developer
  • Administrator
  • *****
  • Posts: 29480
Re: Anywhere very slow after purging cache
« Reply #5 on: April 02, 2021, 09:43:15 PM »
No idea. Anything in the log file?
IMatch Anywhere WebViewer uses the same thumbnails as IMatch for the File Window (these come from the database).
But it creates its own cache images, because it manages different sizes of cache images, depending on your IMWS cache settings.
When something fails, IMWS will log the problem with either a W> warning or E> error.

neal

  • Jr. Member
  • *
  • Posts: 73
Re: Anywhere very slow after purging cache
« Reply #6 on: April 03, 2021, 11:08:49 AM »
No errors in the logs. Is there a way to purge and regenerate the Anywhere cache?

neal

  • Jr. Member
  • *
  • Posts: 73
Re: Anywhere very slow after purging cache
« Reply #7 on: April 03, 2021, 11:31:59 AM »
 I see 4 cache folders in: C:\ProgramData\photools.com\IMatchAnywhere\IMWS\cache. Please see attachment. Can they all be purged?

Mario

  • IMatch Developer
  • Administrator
  • *****
  • Posts: 29480
Re: Anywhere very slow after purging cache
« Reply #8 on: April 03, 2021, 01:24:59 PM »
You can delete these folders if IMWS is not running.
But I would rather recommend to use the options available on the Cache tab in the IMatch WebViewer Controller.
Set the cache time to a few days and restart IMWS. It should purge cache files soon.
Also, unless you run 4 databases with IMWS, you usally have only one cache folder. The cache folder name matches the cache folder shown in the log file after IMWS has started and loaded the database.

neal

  • Jr. Member
  • *
  • Posts: 73
Re: Anywhere very slow after purging cache
« Reply #9 on: April 07, 2021, 12:07:45 PM »
Deleted all pdfs from the database and converted them to psd. After that, all pdf icons and slow speed disappeared from Anywhere!
Now there is something that I do not understand. What is the meaning of SAVED PICTURES in the Anywhere screen and Admin screen? see attached.

Mario

  • IMatch Developer
  • Administrator
  • *****
  • Posts: 29480
Re: Anywhere very slow after purging cache
« Reply #10 on: April 07, 2021, 01:20:53 PM »
This has to be a folder in your database.

neal

  • Jr. Member
  • *
  • Posts: 73
Re: Anywhere very slow after purging cache
« Reply #11 on: April 08, 2021, 07:53:03 AM »
There is a folder called 'saved pictures', but it is empty. However, when I click on the box next to Saved Pictures, 1400+ photos are displayed! Where are they located?

Mario

  • IMatch Developer
  • Administrator
  • *****
  • Posts: 29480
Re: Anywhere very slow after purging cache
« Reply #12 on: April 08, 2021, 10:36:39 AM »
How does this folder look in IMatch?

neal

  • Jr. Member
  • *
  • Posts: 73
Re: Anywhere very slow after purging cache
« Reply #13 on: April 08, 2021, 12:02:19 PM »
I added it to IMatch. It's empty.

Mario

  • IMatch Developer
  • Administrator
  • *****
  • Posts: 29480
Re: Anywhere very slow after purging cache
« Reply #14 on: April 08, 2021, 12:07:20 PM »
Same database?
IMatch shows it as empty, but IMatch Anywhere shows that the folder has files, for the same database?
I'm quite sure that this has never been reported before. Please upload the database to your cloud space and send me a link.
Or, maybe, run a diagnosis first in IMatch.
Makes sure you are using the same database in IMatch and IMatch Anywhere. This is a common problem.

neal

  • Jr. Member
  • *
  • Posts: 73
Re: Anywhere very slow after purging cache
« Reply #15 on: April 08, 2021, 02:30:39 PM »
I have only one db.

neal

  • Jr. Member
  • *
  • Posts: 73
Re: Anywhere very slow after purging cache
« Reply #16 on: April 08, 2021, 02:44:35 PM »
After rebooting the computer, the SAVED PICTURES is still there in Anywhere, but there are no photos (0) in it!! Mysterious.