Skip to content

High memory usage even on simple completion #2839

Open
@mattatticus

Description

@mattatticus

Hello. I am using Arch Linux with Neovim and nvim-lspconfig. I came across some issues with the language server. When I edit a simple haskell file, the memory usage of the language server just went up to 1.3G.
I mean, is this normal? Please look forward to fix this. I have just 3G of ram and sometimes the server just uses so much memory that it causes a OOM and the system just freezes. Sometimes I have to hard reboot my pc :(.

Steps to reproduce

-- I just typed this in a file

import Data.List

main :: IO()
main = undefined

When providing some basic completions the server used up 1.3G of memory

Metadata

Metadata

Assignees

No one assigned

    Labels

    performanceIssues about memory consumption, responsiveness, etc.type: 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