Skip to content

Memory leak+freezing with lsp intelephense or phpactor #286

@Catvert

Description

@Catvert

Describe the bug
Hello, when I use your plugin with the lsp intelephense or phpactor, noice trigger a memory leak in some specific situations.

For example, the memory leak (quickly consumes all my ram, in about 10 seconds + nvim freeze) is triggered with lsp.signature.enabled = true or doc hover with the following settings :

override = { 
 ["vim.lsp.util.convert_input_to_markdown_lines"] = true, 
 ["vim.lsp.util.stylize_markdown"] = true, 
 ["cmp.entry.get_documentation"] = true, 
},  

This seems to be relative to your plugin for all things that affects the lsp.
If you need more information, don't hesitate to ask me. Thanks to you!

Which version of Neovim are you using?
nvim stable + nightly(28/12/22)

To Reproduce
Steps to reproduce the behavior:

  1. Installing noice.nvim + lsp intelephense/phpactor
  2. Insert mode inside a function or doc hover
  3. Memory leak is triggered :(

Screenshots
Example, entering the insert mode inside a function (resulting in a crash) :
image

Noice Log
impossible to get because nvim crashes directly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions