mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-13 22:23:45 +00:00
init test: conserve RAM in dummy app
This patch replaces the 'Heap' by a 'Sliced_heap' to avoid the allocation of a 16 KiB memory block when 'dummy' acts as a server. On seL4, such an allocation would exceed the 1M quota as assigned by the init.run script.
This commit is contained in:
parent
9175d801e0
commit
faea43906f
@ -116,7 +116,7 @@ struct Dummy::Log_connections
|
||||
{
|
||||
Env &_env;
|
||||
|
||||
Heap _heap { _env.ram(), _env.rm() };
|
||||
Sliced_heap _heap { _env.ram(), _env.rm() };
|
||||
|
||||
typedef Registered<Log_connection> Connection;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user