Struct MemoryAllocatorOptions
Defines options for creating the default MemoryAllocator.
Inherited Members
Namespace: SixLabors.ImageSharp.Memory
Assembly: SixLabors.ImageSharp.dll
Syntax
public struct MemoryAllocatorOptions
Properties
| Edit this page View SourceAllocationLimitMegabytes
Gets or sets a value defining the maximum (discontiguous) buffer size that can be allocated by the allocator in Megabytes. null means platform default: 1GB on 32-bit processes, 4GB on 64-bit processes.
Declaration
public int? AllocationLimitMegabytes { get; set; }
Property Value
Type | Description |
---|---|
int? |
MaximumPoolSizeMegabytes
Gets or sets a value defining the maximum size of the MemoryAllocator's internal memory pool in Megabytes. null means platform default.
Declaration
public int? MaximumPoolSizeMegabytes { get; set; }
Property Value
Type | Description |
---|---|
int? |