google/cadvisor — pull request #38 by monnand (2014-06-13 18:12:21+00:00)
Title: fix the memory leak problem mentioned in #26

In ``containerData.housekeeping()``, ``time.Tick()`` is called in every iteration, which will start a new timer in every iteration.

To fix this, we only call ``time.NewTicker()`` once in the beginning of the function and use this timer in all iterations.