1
0
mirror of https://github.com/golang/go synced 2024-11-25 15:08:02 -07:00

fix build

R=gri
CC=golang-dev
https://golang.org/cl/837041
This commit is contained in:
Russ Cox 2010-03-29 13:30:32 -07:00
parent a709876767
commit bd1690ce5e

View File

@ -1383,9 +1383,9 @@ func indexer() {
nwords, nspots := index.Size() nwords, nspots := index.Size()
log.Stderrf("index updated (%gs, %d unique words, %d spots)", secs, nwords, nspots) log.Stderrf("index updated (%gs, %d unique words, %d spots)", secs, nwords, nspots)
} }
log.Stderrf("bytes=%d footprint=%d\n", runtime.MemStats.HeapAlloc, runtime.MemStats.InusePages<<12) log.Stderrf("bytes=%d footprint=%d\n", runtime.MemStats.HeapAlloc, runtime.MemStats.Sys)
runtime.GC() runtime.GC()
log.Stderrf("bytes=%d footprint=%d\n", runtime.MemStats.HeapAlloc, runtime.MemStats.InusePages<<12) log.Stderrf("bytes=%d footprint=%d\n", runtime.MemStats.HeapAlloc, runtime.MemStats.Sys)
} }
time.Sleep(1 * 60e9) // try once a minute time.Sleep(1 * 60e9) // try once a minute
} }