From 6715f074ffe500a060ddfc747891fef1a9da5eeb Mon Sep 17 00:00:00 2001 From: Benjamin Lamowski Date: Tue, 22 Oct 2024 13:14:50 +0200 Subject: [PATCH] sculpt_manager: fix quota boost limit for runtime_view Commit 75e1f1797d0 increased runtime_view's initial RAM quota from 4MiB to 52MiB, but failed to adjust the boost limit. Therefore, when addtional RAM was requested, the limit would actually be degreased to 32MiB. Adjust the RAM boost limit to 64MiB to make the runtime_view work on 4k screens. Issue #5356 --- repos/gems/src/app/sculpt_manager/dialog/distant_runtime.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repos/gems/src/app/sculpt_manager/dialog/distant_runtime.h b/repos/gems/src/app/sculpt_manager/dialog/distant_runtime.h index ae246ef628..6c1ab0ca16 100644 --- a/repos/gems/src/app/sculpt_manager/dialog/distant_runtime.h +++ b/repos/gems/src/app/sculpt_manager/dialog/distant_runtime.h @@ -105,7 +105,7 @@ class Dialog::Distant_runtime : Noncopyable return false; if (child.has_sub_node("ram") && child.sub_node("ram").has_attribute("requested")) { - _ram.value = min(2*_ram.value, 32*1024*1024u); + _ram.value = min(2*_ram.value, 64*1024*1024u); result = true; }