Commit bd1690ce authored by Russ Cox's avatar Russ Cox

fix build

R=gri
CC=golang-dev
https://golang.org/cl/837041
parent a7098767
...@@ -1383,9 +1383,9 @@ func indexer() { ...@@ -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
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment