ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-commits: [Wireshark-commits] master e928a86: Increase PROTO_PRE_ALLOC_HF_FIELDS_MEM

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 20 Aug 2018 23:12:34 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=e928a866f95fd3e1a2faf6ac97604d7cd2d4217d
Submitter: "João Valverde <j@xxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

e928a86 by João Valverde (joao.valverde@xxxxxxxxxxxxxxxxxx):

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

Actions performed:

    from  ce93346   ieee80211: dissect the TWT Element
     add  e928a86   Increase PROTO_PRE_ALLOC_HF_FIELDS_MEM


Summary of changes:
 epan/proto.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)