From bc552c3ba880c96846c7a28af020a60702d69673 Mon Sep 17 00:00:00 2001 From: sebastianburckhardt Date: Thu, 4 May 2023 08:51:40 -0700 Subject: [PATCH] reduce FASTER store log memory size to fix excessive memory use --- .../StorageLayer/Faster/AzureBlobs/BlobManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DurableTask.Netherite/StorageLayer/Faster/AzureBlobs/BlobManager.cs b/src/DurableTask.Netherite/StorageLayer/Faster/AzureBlobs/BlobManager.cs index 2937b00..782b481 100644 --- a/src/DurableTask.Netherite/StorageLayer/Faster/AzureBlobs/BlobManager.cs +++ b/src/DurableTask.Netherite/StorageLayer/Faster/AzureBlobs/BlobManager.cs @@ -144,7 +144,7 @@ namespace DurableTask.Netherite.Faster { int pageSizeBits = tuningParameters?.StoreLogPageSizeBits ?? 10; // 1kB int segmentSizeBits = tuningParameters?.StoreLogSegmentSizeBits ?? 19; // 512 kB - int memorySizeBits = tuningParameters?.StoreLogMemorySizeBits ?? 29; // 512 MB - that is just the max, not what we actually use + int memorySizeBits = tuningParameters?.StoreLogMemorySizeBits ?? 20; // 1 MB max. Holds 88k records. return (pageSizeBits, segmentSizeBits, memorySizeBits); }