We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92b8277 commit 7dd3c43Copy full SHA for 7dd3c43
src/ImageSharp/Memory/Allocators/Internals/UnmanagedMemoryHandle.cs
@@ -11,7 +11,7 @@ namespace SixLabors.ImageSharp.Memory.Internals;
11
internal struct UnmanagedMemoryHandle : IEquatable<UnmanagedMemoryHandle>
12
{
13
// Number of allocation re-attempts when detecting OutOfMemoryException.
14
- private const int MaxAllocationAttempts = 1000;
+ private const int MaxAllocationAttempts = 10;
15
16
// Track allocations for testing purposes:
17
private static int totalOutstandingHandles;
0 commit comments