Skip to content

There seems to be a memory leak in the denops server #277

Description

@Warashi

There seems to be a memory leak in the denops server

This is all that init.vim does

let g:denops_server_addr = '127.0.0.1:32123'
set runtimepath+=~/.cache/nvim/dein/repos/github.com/vim-denops/denops.vim

The shared server startup command is this

❯ pwd
/home/ubuntu/.cache/nvim/dein/repos/github.com/vim-denops/denops.vim
❯ deno run -A --no-lock . /denops/@denops-private/cli.ts
Listen denops clients on 127.0.0.1:32123

This is the version of deno

❯ deno --version
deno 1.37.1 (release, aarch64-unknown-linux-gnu)
v8 11.8.172.6
typescript 5.2.2

The result of :checkhealth denops

denops: health#denops#check

- Supported Deno version: `1.32.0`
- Detected Deno version: `1.37.1`
- OK Deno version check: passed
- Supported Neovim version: `0.8.0`
- Detected Neovim version: `0.10.0`
- OK Neovim version check: passed
- Denops status: `running`
- OK Denops status check: passed

The result of :version

:version
NVIM v0.10.0-dev-7e94074
Build type: Release
LuaJIT 2.1.1693350652
Run ":verbose version" for more info

How to check reproduction

Repeat starting and stopping nvim while watching the memory usage of the shared server with htop

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions