diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-12-03 10:58:27 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-12-03 13:29:57 +0100 |
| commit | c3ff1810cf719dfe9a2329121b1c52357fc62ff6 (patch) | |
| tree | d805797008695b19b5f5726812859920ada9adeb /executor/syscalls.h | |
| parent | 819002b081ae79c079c9694f4e713f4e4a513075 (diff) | |
Makefile: constrain gometalinter memory usage
gometalinter gets OOM-killed on travis:
https://travis-ci.org/google/syzkaller/jobs/462546388
I've run 4 experiments locally and this combination
seems to make memory usage slightly better:
GOGC=50 GOMAXPROCS=1 TIME="%e %M" time gometalinter.v2 ./...
114.35 8274556
122.54 8293580
117.85 8349960
GOGC=50 GOMAXPROCS=1 TIME="%e %M" time gometalinter.v2 ./...
147.45 7512512
150.13 6820408
149.26 7909636
GOGC=100 GOMAXPROCS=2 TIME="%e %M" time gometalinter.v2 ./...
109.73 8332476
114.91 8563776
114.54 8478368
GOGC=50 GOMAXPROCS=2 TIME="%e %M" time gometalinter.v2 ./...
145.43 6726144
147.40 8247952
155.56 7815656
Diffstat (limited to 'executor/syscalls.h')
0 files changed, 0 insertions, 0 deletions
