Skip to content

Memory bloat when processing LSP requests #1055

@lekemula

Description

@lekemula

Hi, I'm opening this issue to track future improvements in this regard

Problem

I've noticed that while solargraph is not doing anything, the memory consumption is ~3-20MB; however, when processing the go-to-definition requests, it spikes up to 1.7 GB in my project with about 6k Ruby files.

image

vs

image

(sorry for the bad resolution, taken from this recording)

Good news here is that we don't seem to have a memory leak; however, we seem to have a huge memory bloat.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions