source code In WebKit/NetworkProcess/NetworkCacheStorage.cpp Line 1142: if (approximateSize() > m_capacity) shrink(); and m_capacity MAX_SIZE is 1 * GB, but, my log shows that the size of this folder is nearly 2GB, I want to know the reason. THANKS!
sorry, my log shows that the size of this folder is nearly 1266MB, not 2GB
The capacity computation is not exact, 1.2GB is not too far. Also the cache uses hard links and depending on how you measure the size it is easy to double count entries.
(In reply to Antti Koivisto from comment #2) > The capacity computation is not exact, 1.2GB is not too far. Also the cache > uses hard links and depending on how you measure the size it is easy to > double count entries. Thanks!There are two pieces of abnormal data in my logs. They show that the size of the 'Version 16/Records' folder is 2.5GB and 4.2GB respectively, while the size of their corresponding fields folder 'Version 16/Blods' is 4.6GB and 8.6GB respectively. These data are far greater than 1GB. I'm not sure if this is real data or dirty data. Do you know why? THANKS!
<rdar://problem/85494718>