Hello Genodeans

I like the new runtime_view in sculpt 18.08. It lests me explore my system in a 
whole new way.

If I start multiple virtual machines, that have some surrounding components, 
the runtime_view requests more ram and the
graph disappears.

log output:
[runtime -> runtime_view] resource_request: ram_quota=808991
[runtime] child "runtime_view" requests resources: ram_quota=808991


I fixed this for me by doubling the memory sculpt_manager assigns to it.

my fix:
diff --git a/repos/gems/src/app/sculpt_manager/runtime/runtime_view.cc
b/repos/gems/src/app/sculpt_manager/runtime/runtime_view.cc
index db6492f46..198f0874a 100644
--- a/repos/gems/src/app/sculpt_manager/runtime/runtime_view.cc
+++ b/repos/gems/src/app/sculpt_manager/runtime/runtime_view.cc
@@ -20,7 +20,7 @@

 void Sculpt::gen_runtime_view_start_content(Xml_generator &xml, float 
font_size)
 {
-   gen_common_start_content(xml, "runtime_view", Cap_quota{200}, 
Ram_quota{9*1024*1024});
+ gen_common_start_content(xml, "runtime_view", Cap_quota{200}, 
Ram_quota{18*1024*1024});

        gen_named_node(xml, "binary", "menu_view");


Best regards,
Pirmin


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Genode users mailing list
[email protected]
https://lists.genode.org/listinfo/users

Reply via email to