![]() |
MemoryManager Class |
Namespace: Accord.Imaging
The MemoryManager type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | BusyMemoryBlocks |
Amount of busy memory blocks in cache (which were not freed yet by user).
|
![]() ![]() | CachedMemory |
Amount of cached memory in bytes.
|
![]() ![]() | CurrentCacheSize |
Current amount of memory blocks in cache.
|
![]() ![]() | FreeMemoryBlocks |
Amount of free memory blocks in cache (which are not busy by users).
|
![]() ![]() | MaximumCacheSize |
Maximum amount of memory blocks to keep in cache.
|
![]() ![]() | MaxSizeToCache |
Maximum memory block's size in bytes, which could be cached.
|
![]() ![]() | MinSizeToCache |
Minimum memory block's size in bytes, which could be cached.
|
Name | Description | |
---|---|---|
![]() ![]() | Alloc |
Allocate unmanaged memory.
|
![]() ![]() | Free |
Free unmanaged memory.
|
![]() ![]() | FreeUnusedMemory |
Force freeing unused memory.
|
The memory manager supports memory allocation/deallocation caching. Caching means that memory blocks may be not freed on request, but kept for later reuse.