diff options
author | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-10-06 10:10:33 +0000 |
---|---|---|
committer | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-10-06 10:10:33 +0000 |
commit | 4751ad043cc0af6b29a86b22f67ed8f1db00889e (patch) | |
tree | 60fd6c3c56ca5b38f5f8dce6d59b4738d498ca0c /epan/emem.c | |
parent | 860bdf18ff750a28dccc1b31c6b199dd60889622 (diff) |
Increase EMEM_ALLOCS_PER_CHUNK to avoid memory waist.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30356 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/emem.c')
-rw-r--r-- | epan/emem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/emem.c b/epan/emem.c index 1037f40df1..455bcfce23 100644 --- a/epan/emem.c +++ b/epan/emem.c @@ -103,7 +103,7 @@ static int dev_zero_fd; #define EMEM_PACKET_CHUNK_SIZE 10485760 /* The maximum number of allocations per chunk */ -#define EMEM_ALLOCS_PER_CHUNK (EMEM_PACKET_CHUNK_SIZE / 512) +#define EMEM_ALLOCS_PER_CHUNK (EMEM_PACKET_CHUNK_SIZE / 64) #define EMEM_CANARY_SIZE 8 #define EMEM_CANARY_DATA_SIZE (EMEM_CANARY_SIZE * 2 - 1) |