mitigating fragmented heap

This commit is contained in:
jpirnay
2026-04-17 17:02:50 +02:00
parent 33c8b9d654
commit de314182f7
3 changed files with 12 additions and 5 deletions
+7
View File
@@ -2086,6 +2086,13 @@ bool GfxRenderer::storeBwBuffer() {
}
}
if (bwBufferChunkSize > 1024) {
LOG_INF("GFX", "BW buffer allocation still failed, retrying with 1024");
if (attemptStore(1024)) {
return true;
}
}
LOG_ERR("GFX", "!! BW buffer storage failed after retrying smaller chunk sizes");
return false;
}