Table of Contents

Struct MemoryAllocatorOptions

Namespace
SixLabors.ImageSharp.Memory
Assembly
SixLabors.ImageSharp.dll

Defines options for creating the default MemoryAllocator.

public struct MemoryAllocatorOptions
Inherited Members

Properties

AllocationLimitMegabytes

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.

public int? AllocationLimitMegabytes { get; set; }

Property Value

int?

MaximumPoolSizeMegabytes

Gets or sets a value defining the maximum size of the MemoryAllocator's internal memory pool in Megabytes. null means platform default.

public int? MaximumPoolSizeMegabytes { get; set; }

Property Value

int?