google / google/gopacket

reassembly.StreamPool connection cache only grows and keeps unused memory allocated

Open
#1,084 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
6.8k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

StreamPool has a `grow()` method which doubles the size of the number of `connection` structs allocated. This leads to ever-growing memory usage by the `all` and `free` fields, even if most of it is unused.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.