Author Topic: IM5 cache and recycle bin  (Read 2208 times)

Carlo Didier

  • Super Hero
  • ****
  • Posts: 1706
IM5 cache and recycle bin
« on: October 04, 2013, 09:13:23 AM »
I regularly see thousands of files from IM5's cache in the recycle bin. Is this necessary?
I don't think that these files need to go to the recycle bin and it takes up a lot of space.

sinus

  • Global Moderator
  • *****
  • Posts: 4464
  • IMatch-User since 2001 (IMatch 3.6)
Re: IM5 cache and recycle bin
« Reply #1 on: October 04, 2013, 10:34:31 AM »
Maybe you can choose the behaviour in the preferences- cache?
Best wishes from Switzerland! :-)
Markus

Carlo Didier

  • Super Hero
  • ****
  • Posts: 1706
Re: IM5 cache and recycle bin
« Reply #2 on: October 04, 2013, 11:24:42 AM »
Maybe you can choose the behaviour in the preferences- cache?
I can't see such an option there.

Gerd

  • Hero Member
  • ***
  • Posts: 587
Re: IM5 cache and recycle bin
« Reply #3 on: October 04, 2013, 11:51:11 AM »
Hi,

there is a setting in the preferences (see screenshot), I have on YES, but I can not see abnormal use of recycle-bin ...

[attachment deleted by admin]
_______
Regards
Gerd

thrinn

  • Super Hero
  • ****
  • Posts: 1020
Re: IM5 cache and recycle bin
« Reply #4 on: October 04, 2013, 12:05:41 PM »
Carlo,
please be aware that this setting is not cache-folder specific. If it is set to Off and you delete a file within IMatch, it will be gone and can not be restored from the recycle bin. Same as in Windows.

I do not find an unusual high number of files in my recycle bin. But I work mostly with JPG that are not cached anyway (depending on your settings).

I can not tell for sure but I think that cached thumbnails will possibly be moved to the recycle bin when deleted / recreated. So your settings regarding cache sizes, purging etc. might help to answer your question. Maybe you did a rescan of mayn folders?

Regards,
Thorsten

Thorsten
Win 10 / 64, IMatch 2018, IMA

Mario

  • IMatch Developer
  • Administrator
  • *****
  • Posts: 29760
Re: IM5 cache and recycle bin
« Reply #5 on: October 04, 2013, 02:35:36 PM »
This was an oversight.

IMatch uses it's own file system wrapper. When deleting a file, the cache management module in IMatch did not explicitly request that the file should not go into the Windows recycle bin. IMatch by default uses the recycle bin, which usually does not harm because Windows is pretty good at keeping the recycle bin  in shape.

I agree that it makes no sense to move cache files into the Windows recycle bin. Build 120+ will physically delete cache files.

Carlo Didier

  • Super Hero
  • ****
  • Posts: 1706
Re: IM5 cache and recycle bin
« Reply #6 on: October 04, 2013, 05:59:51 PM »
I agree that it makes no sense to move cache files into the Windows recycle bin.
Exactly my thoughts.

Gerd

  • Hero Member
  • ***
  • Posts: 587
Re: IM5 cache and recycle bin
« Reply #7 on: October 04, 2013, 06:04:24 PM »
... and I found now also this big amount of deleted files, but located in the "local Temp" ...  ;)
_______
Regards
Gerd

Mario

  • IMatch Developer
  • Administrator
  • *****
  • Posts: 29760
Re: IM5 cache and recycle bin
« Reply #8 on: October 04, 2013, 06:46:01 PM »
IMatch does not store deleted files in the TEMP path.
It uses the TEMP folder for various reasons, e.g. to store temporary cache files when you set the cache to "Off". It deletes these files when it closes.
In case of a crash, temporary files may not be deleted (like with any other application).
Cleaning the TEMP folder regularly is recommended for Windows.

Gerd

  • Hero Member
  • ***
  • Posts: 587
Re: IM5 cache and recycle bin
« Reply #9 on: October 04, 2013, 07:05:41 PM »
Hi Mario,

you are right! But the local recycle bin is not so in my scope. Normaly only the default one that is also visible in the explorer in the directory-tree in C: ...

_______
Regards
Gerd

Mario

  • IMatch Developer
  • Administrator
  • *****
  • Posts: 29760
Re: IM5 cache and recycle bin
« Reply #10 on: October 04, 2013, 07:22:45 PM »
Windows has only one recycle bin.

Gerd

  • Hero Member
  • ***
  • Posts: 587
Re: IM5 cache and recycle bin
« Reply #11 on: October 04, 2013, 08:35:35 PM »
Ja, sorry , made a mismatch with the temp-dirs ...
_______
Regards
Gerd