Skip to content

LSP server memory: RSS grows to ~500-630 MB after member queries #528

Closed

Description

@blacktrs

Context: manticore lsp (PR #522), tools/bench_lsp.php on src/ (362 files).

RSS is 123 MB after the startup scan, ~510 MB after 30 member-reference queries, ~633 MB after 60 (growth flattens). Cause untraced; suspects are ASTs of temporarily opened closed files not released (ClosedFiles) and the compiler's known leak (self-build memory note).

Done when: RSS after 60 member queries stays within ~1.5x of post-scan, or the cause is documented.

Activity

  1. added 6 commits that reference this issue on Oct 29, 2026
    45dee88
    e50a6ae
    1c00bea
    aba239b
    2368b8d
    5de5446
  2. added
    leak
    on Oct 30, 2026
  3. added theissue type on Oct 30, 2026
  4. added 6 commits that reference this issue on Nov 9, 2026
    a67d64d
    a76679e
    dabc24f
    0fa1705
    6bf8007
    1d36297
  5. added a commit that references this issue on Nov 15, 2026
    8c817ed
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

    leak

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions