aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2018-08-20 23:26:53 +0100
committerJoão Valverde <j@v6e.pt>2018-08-20 23:12:28 +0000
commite928a866f95fd3e1a2faf6ac97604d7cd2d4217d (patch)
treecae2c0b796840bf10075f6c396d0cdbf0595b991
parentce93346bcb10b1dbae30739da6b8f287417acbc0 (diff)
Increase PROTO_PRE_ALLOC_HF_FIELDS_MEM
Required to pass the test suite. 28: Process output for suite_unittests.case_unittests.test_unit_fieldcount: 28: -- Begin stdout for command ('run/tshark', '-G', 'fieldcount') -- 28: There are 205013 header fields registered, of which: 28: 0 are deregistered 28: 2468 are protocols 28: 15147 have the same name as another field 28: 28: 205000 fields were pre-allocated. 28: * * Please increase PROTO_PRE_ALLOC_HF_FIELDS_MEM (in epan/proto.c)! * * 28: 28: The header field table consumes 1609 KiB of memory. 28: The fields themselves consume 14414 KiB of memory. 28: -- End stdout for command ('run/tshark', '-G', 'fieldcount') -- 28: -- Begin stderr for command ('run/tshark', '-G', 'fieldcount') -- 28: -- End stderr for command ('run/tshark', '-G', 'fieldcount') -- 28/29 Test #28: suite_unittests .....................***Failed 12.72 sec Change-Id: I694ed42dbd5bef99df9d2037d505d71901afd2dd Reviewed-on: https://code.wireshark.org/review/29209 Reviewed-by: João Valverde <j@v6e.pt>
-rw-r--r--epan/proto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/proto.c b/epan/proto.c
index 602fff4011..3364c37e8b 100644
--- a/epan/proto.c
+++ b/epan/proto.c
@@ -7982,7 +7982,7 @@ register_number_string_decoding_error(void)
proto_set_cant_toggle(proto_number_string_decoding_error);
}
-#define PROTO_PRE_ALLOC_HF_FIELDS_MEM (200000+PRE_ALLOC_EXPERT_FIELDS_MEM)
+#define PROTO_PRE_ALLOC_HF_FIELDS_MEM (201000+PRE_ALLOC_EXPERT_FIELDS_MEM)
static int
proto_register_field_init(header_field_info *hfinfo, const int parent)
{