Browse Source

- Reduced the threshold for ArrayPoolMemoryManager to 512 bytes

pull/431/head
Lauri Kotilainen 8 years ago
parent
commit
54313e854b
  1. 2
      src/ImageSharp/Configuration.cs

2
src/ImageSharp/Configuration.cs

@ -86,7 +86,7 @@ namespace SixLabors.ImageSharp
/// <summary>
/// Gets or sets the <see cref="MemoryManager"/> that is currently in use.
/// </summary>
public MemoryManager MemoryManager { get; set; } = new ArrayPoolMemoryManager(1024 * 80);
public MemoryManager MemoryManager { get; set; } = new ArrayPoolMemoryManager(512);
/// <summary>
/// Gets the maximum header size of all the formats.

Loading…
Cancel
Save