RUNNER="`dirname $0`/valgrind-wireshark.sh"
COMMON_ARGS="-b $BIN_DIR $COMMON_ARGS"
declare -a RUNNER_ARGS=("" "-T")
- # Valgrind requires more resources, so bump our limits to 1.5 times normal
- MAX_CPU_TIME=`expr 3 \* $MAX_CPU_TIME / 2`
+ # Valgrind requires more resources, so permit 1.5x memory and 2x time
+ # (1.5x time is too small for a few large captures in the menagerie)
+ MAX_CPU_TIME=`expr 2 \* $MAX_CPU_TIME`
MAX_VMEM=`expr 3 \* $MAX_VMEM / 2`
else
# Not using valgrind, use regular tshark.