diff --git a/services/hilogd/log_buffer.cpp b/services/hilogd/log_buffer.cpp index a3a12fd387c5e6d1c81cdd98e1eedf6aeccf5b87..99034cf4aca6a9ca0b20e409f59e29d38cd10221 100644 --- a/services/hilogd/log_buffer.cpp +++ b/services/hilogd/log_buffer.cpp @@ -31,10 +31,10 @@ namespace OHOS { namespace HiviewDFX { using namespace std; -#define MAX_BUFFER_SIZE 4194304 +#define MAX_BUFFER_SIZE 41943040 const float DROP_RATIO = 0.05; -static int g_maxBufferSize = 4194304; -static int g_maxBufferSizeByType[LOG_TYPE_MAX] = {1048576, 1048576, 1048576, 1048576}; +static int g_maxBufferSize = 41943040; +static int g_maxBufferSizeByType[LOG_TYPE_MAX] = {10485760, 10485760, 10485760, 10485760}; const int DOMAIN_STRICT_MASK = 0xd000000; const int DOMAIN_FUZZY_MASK = 0xdffff; const int DOMAIN_MODULE_BITS = 8;