Skip to content

OmniSharp LSP server fails to index large .NET repositories (e.g., aspnetcore) — never responds even after 1 hour timeout #2694

@utkarshtheone

Description

@utkarshtheone

I’m experiencing an issue where the OmniSharp LSP server is unable to fully initialize or provide responses (such as function references) when used with large .NET repositories — for example, the dotnet/aspnetcore

I have implemented a C# LSP client in Python using pylspclient

The client works correctly for smaller C# projects — initialization, definition, and reference requests all function as expected.
However, when running against large repositories like aspnetcore, OmniSharp appears to hang indefinitely during indexing.
The LSP server is launched programmatically using the following code:

self.server_process = subprocess.Popen( ['omnisharp', '-lsp', '-s', self.workspace_path], stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions