From 8146a442f63ecd00f6e1b80841af13dc0cde8e0c Mon Sep 17 00:00:00 2001 From: Nav Date: Sat, 3 Sep 2022 20:38:36 +0100 Subject: [PATCH] Reduced memory read batch size to 128 bytes, in ReadTargetMemory Insight worker task, to improve stability (reduce likelihood of debug server (GDB) timeouts) --- src/Insight/InsightWorker/Tasks/ReadTargetMemory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Insight/InsightWorker/Tasks/ReadTargetMemory.cpp b/src/Insight/InsightWorker/Tasks/ReadTargetMemory.cpp index f793bf04..713694e2 100644 --- a/src/Insight/InsightWorker/Tasks/ReadTargetMemory.cpp +++ b/src/Insight/InsightWorker/Tasks/ReadTargetMemory.cpp @@ -15,7 +15,7 @@ namespace Bloom * This allows the TargetController to service other commands in-between reads, reducing the likelihood of * command timeouts when we're reading lots of data. */ - constexpr auto readSize = 256; + constexpr auto readSize = 128; const auto readsRequired = static_cast( std::ceil(static_cast(this->size) / static_cast(readSize)) );