extract-clients panic when splitting file
I have a 3G capture file that I'm trying to split into pellets. extract-clients works fine if I don't specify a duration or if the duration is 21 seconds or less. Anything above that results in a panic.
Box has 64G of ram, with only 5G in use.
running from git repo (commit 2da39bfd, Mar 23 11:58:18 2022 +0100), on CentOS 7 with dnsjit-1.2.3-1.el7.x86_64 package.
input file details from capinfos:
File name: /tmp/dnsperf-100-clients-ordered.pcap
File type: Wireshark/tcpdump/... - pcap
File encapsulation: Ethernet
Packet size limit: file hdr: 65535 bytes
Number of packets: 39 M
File size: 3,757 MB
Data size: 3,132 MB
Capture duration: 194 seconds
Start time: Tue Apr 19 13:39:13 2022
End time: Tue Apr 19 13:42:27 2022
Data byte rate: 16 MBps
Data bit rate: 129 Mbps
Average packet size: 80.23 bytes
Average packet rate: 201 kpackets/sec
$ ./pcap/extract-clients.lua -r /tmp/dnsperf-100-clients-ordered.pcap -O pellets-broot-x -d 25
extract-clients.lua notice: file will be split every 25 seconds
extract-clients.lua notice: using input PCAP /tmp/dnsperf-100-clients-ordered.pcap
extract-clients.lua notice: writing chunk: pellets-broot-x/37bc5abd.pcap
PANIC: unprotected error in call to Lua API (not enough memory)
strace output, filtered for interesting bits..
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_32BIT, -1, 0) = 0x7ffdb000
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_32BIT, -1, 0) = -1 ENOMEM (Cannot allocate memory)
write(2, "PANIC: unprotected error in call"..., 45PANIC: unprotected error in call to Lua API () = 45