diff options
author | Clement Farabet <cfarabet@twitter.com> | 2015-11-17 22:59:33 +0300 |
---|---|---|
committer | Clement Farabet <cfarabet@twitter.com> | 2015-11-17 22:59:33 +0300 |
commit | 516831dc3907b1e2195a693ea747e58396ed7759 (patch) | |
tree | 251e4cdff16cb09e1667f1ce4fca5c5eb63f61ff | |
parent | 5ef7de14ec324c5611d4fc8a61841845aacf344b (diff) |
Enable heap tracking by default.
-> this is proven enough, and eliminates the need for
manual GC-ing.
-rw-r--r-- | init.lua | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -688,5 +688,8 @@ for k,v in pairs(_G) do _G._preloaded_[k] = true end +-- Enable heap tracking +torch.setheaptracking(true) + -- return repl, just call it to start it! return repl |