Open bklang opened 10 years ago
Right now we construct the entire PCAP in memory before writing to disk. This consumes a huge amount of memory (over 1GB was consumed attempting to generate 6,000 seconds). We should instead write out the packets as we go.
Right now we construct the entire PCAP in memory before writing to disk. This consumes a huge amount of memory (over 1GB was consumed attempting to generate 6,000 seconds). We should instead write out the packets as we go.