We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
runtime.GC
1 parent 5b40f43 commit b051f31Copy full SHA for b051f31
pkg/security/probe/probe_ebpf.go
@@ -16,7 +16,6 @@ import (
16
"net"
17
"os"
18
"path/filepath"
19
- "runtime"
20
"slices"
21
"strings"
22
"sync"
@@ -1676,8 +1675,6 @@ func (p *EBPFProbe) RefreshUserCache(containerID containerutils.ContainerID) err
1676
1675
// Snapshot runs the different snapshot functions of the resolvers that
1677
// require to sync with the current state of the system
1678
func (p *EBPFProbe) Snapshot() error {
1679
- // the snapshot for the read of a lot of file which can allocate a lot of memory.
1680
- defer runtime.GC()
1681
return p.Resolvers.Snapshot()
1682
}
1683
0 commit comments