Page 1 of 1
Folder size doesn't stick in the cache
Posted: 11 Jun 2016 15:43
by LittleBiG
As you can see, the Calculate Folder Sizes button shows the size of the Program Files folder, but somehow it is not cached. (Anyway, I have no idea how that small number (174 byte) appeared. Maybe a cancelled calculation was saved earlier.)
Re: Folder size doesn't stick in the cache
Posted: 12 Jun 2016 09:46
by admin

Cannot reproduce.
Is this the only folder that behaves like this?
Re: Folder size doesn't stick in the cache
Posted: 12 Jun 2016 11:00
by LittleBiG
It has already happened with an other folder, but I couldn't report it because after a couple of refresh in the end the correct size was registered in the cache.
Re: Folder size doesn't stick in the cache
Posted: 12 Jun 2016 11:31
by admin
Maybe you were too quick and the calculation was not finished yet.
Re: Folder size doesn't stick in the cache
Posted: 12 Jun 2016 12:21
by LittleBiG
Sorry, I have just found the culprit. I had a PFA item for jumping through the folders containing only one folder to reach the first meaningful subfolder quickly. Somehow this interfere with folder size caching.
Code: Select all
"Browse Folder" \>::$item = "<pfaitem>"; while (FolderSize($item, '<d>+<f>', 0) == '1+0') { $item = ListFolder($item, '*', 2); } goto $item;
So it probably means that using folder size caching I have to leave this handy workaround
