Run golangci-lint out of memory

We use Travic-ci to build cyclone for a long while. And it is running great. But 1 week ago, we got an error out of memory, even the old branch which has not changed anything got the same error now. So I want to know has something changed in the Travic-ci server side? please save me, thanks.

Error info:

$ golangci-lint run --disable=gosimple --skip-dirs=pkg/k8s/ --deadline=300s ./pkg/... ./cmd/...
fatal error: runtime: out of memory
runtime stack:
runtime.throw(0xee7095, 0x16)
	/home/travis/.gimme/versions/go1.11.linux.amd64/src/runtime/panic.go:608 +0x72
runtime.sysMap(0xc19c000000, 0x4000000, 0x18557f8)
	/home/travis/.gimme/versions/go1.11.linux.amd64/src/runtime/mem_linux.go:156 +0xc7
runtime.(*mheap).sysAlloc(0x1836280, 0x4000000, 0x1836298, 0x7fdad6c5aac0)
	/home/travis/.gimme/versions/go1.11.linux.amd64/src/runtime/malloc.go:619 +0x1c7
runtime.(*mheap).grow(0x1836280, 0x1, 0x0)
	/home/travis/.gimme/versions/go1.11.linux.amd64/src/runtime/mheap.go:920 +0x42
runtime.(*mheap).allocSpanLocked(0x1836280, 0x1, 0x1855808, 0x400)
	/home/travis/.gimme/versions/go1.11.linux.amd64/src/runtime/mheap.go:848 +0x337
runtime.(*mheap).alloc_m(0x1836280, 0x1, 0x24, 0x7fdad6fd7fff)
	/home/travis/.gimme/versions/go1.11.linux.amd64/src/runtime/mheap.go:692 +0x119
runtime.(*mheap).alloc.func1()
	/home/travis/.gimme/versions/go1.11.linux.amd64/src/runtime/mheap.go:759 +0x4c
runtime.(*mheap).alloc(0x1836280, 0x1, 0x7fdad6010024, 0x7fdad6c5aac0)
	/home/travis/.gimme/versions/go1.11.linux.amd64/src/runtime/mheap.go:758 +0x8a
runtime.(*mcentral).grow(0x1837eb8, 0x0)
	/home/travis/.gimme/versions/go1.11.linux.amd64/src/runtime/mcentral.go:232 +0x94
runtime.(*mcentral).cacheSpan(0x1837eb8, 0x7fdad6c5aac0)
	/home/travis/.gimme/versions/go1.11.linux.amd64/src/runtime/mcentral.go:106 +0x2f8
runtime.(*mcache).refill(0x7fdafb2a86c0, 0xc000052524)
	/home/travis/.gimme/versions/go1.11.linux.amd64/src/runtime/mcache.go:122 +0x95
runtime.(*mcache).nextFree.func1()
	/home/travis/.gimme/versions/go1.11.linux.amd64/src/runtime/malloc.go:749 +0x32
runtime.systemstack(0x0)
	/home/travis/.gimme/versions/go1.11.linux.amd64/src/runtime/asm_amd64.s:351 +0x66
runtime.mstart()
	/home/travis/.gimme/versions/go1.11.linux.amd64/src/runtime/proc.go:1229

Please link to a build and an earlier successful build. Copypasting things here gives incomplete information.

Thanks for your reply. I think this maybe a golang-lint problem, downgrade the golang-lint version from master branch to a specific version v1.16.0 solved the proplem.

Imprint