From 8ad656624d1c819cc1417bcdf733e3545aaf0a15 Mon Sep 17 00:00:00 2001 From: EntireTwix Date: Thu, 29 Jul 2021 21:30:36 -0700 Subject: [PATCH] :bug: real max log size is 59 not 60 --- docs/building.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/building.md b/docs/building.md index 67341b7..1431eb8 100644 --- a/docs/building.md +++ b/docs/building.md @@ -5,7 +5,7 @@ as CCash is very lightweight it can run on practically any device but here are some tips: * single core machines should toggle `MULTI_THREADED` to `false` * if your server is sufficiently active as so that each save frequency saving is highly likely then `CONSERVATIVE_DISK_SAVE` should be toggled to `false` -* `MAX_LOG_SIZE` should be adjusted as it takes up the most memory usage/storage of the ledger's features at ~202 bytes in memory and ~104 bytes in disk at default settings, so 5191 logs per Mb. Setting to 0 will disable logs +* `MAX_LOG_SIZE` should be adjusted as it takes up the most memory usage/storage of the ledger's features at ~203 bytes in memory and ~104 bytes in disk at default settings, so 5165 logs per Mb of RAM. Setting to 0 will disable logs * with no users memory usage is 8.47 Mb * Saving frequency (a runtime argument) being set to 0 will disable frequency saving and only save on close