ILNumerics Ultimate VS

MemoryPoolHandleTShrinkCount Property

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Number of shrinking operations performed by the pool so far.

[ILNumerics Core Module]

Namespace:  ILNumerics.Core.MemoryLayer
Assembly:  ILNumerics.Core (in ILNumerics.Core.dll) Version: (5.4.7431.3055)

public uint ShrinkCount { get; }

Property Value

Type: UInt32

A high number of shrinking operations indicate an suboptimal memory configuration for the current problem size / system memory. In such a situation (at least some) memory chunks are not optimally reused and the performance of the application may be low.

During the run of the algorithm the pool will try to adopt itself to the required memory allocation pattern. This means the pool is shrinked and expanded as required dynamically. Shrinking is performed when an available memory chunk is too big to be stored in the pool _additioinally_ to other chunks existing in the pool.

If during the run of the algorithm the pool keeps shrinking / releasing older objects try to increase the pools MaxSize property to give the pool more room for storing more memory chunks.

[ILNumerics Core Module]

See Also