Skip to content

too many clang/gcc processes, system limit reached #580

Open
@simonmichael

Description

@simonmichael

Using Haskell extension 1.2.0 in VS Code 1.51.0 on mac catalina, I started getting fork: resource exhausted (Resource temporarily unavailable) in all terminals. ps showed that it had opened many clang (and some gcc) processes, eventually reaching the process limit. Restarting the Haskell LSP process fixed it.

pstree output: https://termbin.com/c9e4y

Metadata

Metadata

Assignees

No one assigned

    Labels

    build tool: stackos: macosperformanceIssues about memory consumption, responsiveness, etc.status: needs infoNot actionable, because there's missing informationtype: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions