buffer to 512M

This commit is contained in:
John Doe
2023-12-01 07:54:40 +00:00
parent 604a5d3b8c
commit fc79e537e2
2 changed files with 3 additions and 2 deletions

View File

@@ -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;

View File

@@ -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;