Object Size Calculation for Cache

Calculate the object size for cache with this method.

The ObjectSize is calculated as follows:

  • If <CharSet> is singlebyte, check if the <SingleByteObjectSize> is specified. If not specified, default 100 value is considered.
  • If <CharSet> is multibyte, check if <MultiByteObjectSize> is specified. If not specified, default 200 value is considered.
  • For distributed caches, ObjectSize = ObjectSize * overhead factor

    A sum of all percent limits for Distributed and Near caches must be 100 or a sum of all percent limits for Local and Near caches must be 100 or less.