Reduce arena size in wapp_shell_commander_execute
This commit is contained in:
parent
11949e69be
commit
a534d44db5
@ -23,7 +23,7 @@ CMDResult wapp_shell_commander_execute(CMDOutHandling out_handling, Str8 *out_bu
|
|||||||
return CMD_NO_EXIT(SHELL_ERR_INVALID_ARGS);
|
return CMD_NO_EXIT(SHELL_ERR_INVALID_ARGS);
|
||||||
}
|
}
|
||||||
|
|
||||||
Allocator arena = wapp_mem_arena_allocator_init(MB(100));
|
Allocator arena = wapp_mem_arena_allocator_init(KB(500));
|
||||||
|
|
||||||
Str8 *cmd_str = wapp_str8_join(&arena, cmd, &wapp_str8_lit_ro(" "));
|
Str8 *cmd_str = wapp_str8_join(&arena, cmd, &wapp_str8_lit_ro(" "));
|
||||||
if (!cmd_str) {
|
if (!cmd_str) {
|
||||||
|
Loading…
Reference in New Issue
Block a user