Are decimals not supported when configuring cache sizes? I recently noticed that setting a cache size to 1.6MB
resulted in the cache size being set to 16MB
:
Patch Config
Below is the patch config where I set the cache size to 1.6MB
:
No.
Commas ,
and periods .
are stripped from the values. You can take a look at Sitecore.StringUtil.ParseSizeString(string)
for proof, I've not found this officially documented anywhere.
Valid sizes examples:
If you want 1.6MB, you're going to have to go with 1600KB.