close
Skip to content

High CPU usage, caching gem 0%, slow to LSP requests #971

@fishBone000

Description

@fishBone000

Hello!
I'm trying to use solargraph on metasploitframework, but I noticed:

  1. Indexing is fine. There's 2000 files to be indexed, the process took about 2 seconds.
  2. But my editor keeps flashing "Caching gem", and the progress is always 0%. I have never seen any LSP status flashing, perhaps it's starting the caching process over and over again?
  3. High CPU usage, around 70% (100% for one core, 200% for 2 cores)
  4. Slow to LSP requests, e.g. it takes around 10 sec to respond "go to definition", takes whole damn while to get document symbols.

Environment:
OS: Arch Linux
solargraph: 0.55.1
editor: nvim
metasploit-framework: 6.4.68

Thx!

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