func (this Manager) runTicker() { defer T.Un(T.Trace("")) for _ = range this.ticker.C { this.Println("mem:", T.MemAlloced(), "goroutines:", runtime.NumGoroutine()) } }
func (this Manager) invokeGc() { start := time.Now() alloced := T.MemAlloced() runtime.GC() this.Println("GC", time.Now().Sub(start), alloced, "->", T.MemAlloced()) }