Skip to content

Memory Overflow(Go1.20) #3535

Closed
Closed
@lx-world

Description

@lx-world

Welcome

  • Yes, I'm using a binary release within 2 latest major releases. Only such installations are supported.
  • Yes, I've searched similar issues on GitHub and didn't find any.
  • Yes, I've included all information below (version, config, etc.).
  • Yes, I've tried with the standalone linter if available (e.g., gocritic, go vet, etc.). (https://golangci-lint.run/usage/linters/)

Description of the problem

Go 1.20, Memory overflow when running golangci

Version of golangci-lint

$ golangci-lint --version
golangci-lint has version v1.50.1 built from (unknown, mod sum: "h1:C829clMcZXEORakZlwpk7M4iDw2XiwxxKaG504SZ9zY=") on (unknown)

Configuration file

$ cat .golangci.yml
run:
  timeout: 5m
  issues-exit-code: 0
  tests: false

linters:
  enable:
    - nilerr
    - goconst
    - goprintffuncname
    - importas
    - predeclared
    - revive
    - rowserrcheck

Go environment

$ go version && go env
go version go1.20 linux/amd64

Verbose output of running

$ golangci-lint cache clean
$ golangci-lint run -v
INFO [lintersdb] Active 14 linters: [errcheck goconst goprintffuncname gosimple govet importas ineffassign nilerr predeclared revive rowserrcheck staticcheck typecheck unused]

block.........................

Code example or link to a public repository

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions