mitigating fragmented heap

This commit is contained in:
jpirnay committed 2026-04-17 17:02:50 +02:00
1 parent 33c8b9d654
commit de314182f7
3 files changed
+12 -5

No files matched your search

+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;
}