Open randy98 opened 5 years ago
Known issue, caused by creating a bunch of decoder redirects and enums (mostly the stuff in enums.go, I think)? Unfortunately, not really fixable without backwards-incompatible changes. You'll probably get the same just with:
_ "github.com/google/gopacket/layers"
Yikes! Thank you! Not sure what the norm here is. Let me know if someone will close or I should close or leave open as known issue.
Subject says it all. Is this by design? Makes the use of gopacket difficult in resource constrained systems.
To reproduce:
import these packages
"github.com/google/gopacket" "github.com/google/gopacket/afpacket" "github.com/google/gopacket/layers" _ "github.com/google/gopacket/pcap"
Just sleep in main. Then run htop and check RES memory.