try a different memory tracking approach
This commit is contained in:
@@ -220,7 +220,7 @@ func (p *ProtoPackage) build(ctx context.Context) (time.Duration, error) {
|
||||
log.Errorf("error getting PGID: %v", err)
|
||||
}
|
||||
|
||||
var peakMem int
|
||||
var peakMem int64
|
||||
done := make(chan bool)
|
||||
go pollMemoryUsage(pgid, 1*time.Second, done, &peakMem)
|
||||
|
||||
|
Reference in New Issue
Block a user