From fc79e537e20b0dd32678440fb69b0e9f93d2ac8c Mon Sep 17 00:00:00 2001 From: John Doe Date: Fri, 1 Dec 2023 07:54:40 +0000 Subject: [PATCH] buffer to 512M --- source/module/monitor_kernel_lib.c | 2 +- source/ucli/ucli.cc | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/source/module/monitor_kernel_lib.c b/source/module/monitor_kernel_lib.c index bc6b616..48ee89f 100644 --- a/source/module/monitor_kernel_lib.c +++ b/source/module/monitor_kernel_lib.c @@ -206,7 +206,7 @@ int monitor_init(void) { if (ret) return ret; //!todo - ret = init_buffer(500 * 1024 * 1024); // 50M + ret = init_buffer(512 * 1024 * 1024); // 512M if (ret) return -1; return 0; diff --git a/source/ucli/ucli.cc b/source/ucli/ucli.cc index 1a2d1be..0c2cc57 100644 --- a/source/ucli/ucli.cc +++ b/source/ucli/ucli.cc @@ -68,7 +68,8 @@ static void do_extract(char *buf, int len) { } static void do_dump(const char *arg) { - static char variant_buf[500 * 1024 * 1024]; + //!todo + static char variant_buf[512 * 1024 * 1024]; int len; int ret = 0;