Skip to content

Clarify logging for "No Project" when hitting memory limit #59856

Open

Description

@cbarber

Acknowledgement

  • I acknowledge that issues using this template may be closed without further explanation at the maintainer's discretion.

Comment

typescript fails with "No Project" and no other error in its log when hitting default memory limit. Improve this by providing better logging output.

Activity

  1. briandiloreto commented on Oct 17, 2025

    @briandiloreto

    I experience this issue as well when making a large number of calls to provideCallHierarchyIncomingCalls. It is not clear to me that this is a memory issue. Better clarification is indeed needed.

    Log output is below.

    Info 10606[14:03:26.657] -----------------------------------------------
    Info 10606[14:03:26.657] Open files:
    Info 10606[14:03:26.657] FileName: c:/Users/brian/brian/development/CodeVisual/src/dot-commands.ts ProjectRootPath: c:/Users/brian/brian/development/CodeVisual/src
    Info 10606[14:03:26.657] Projects: /dev/null/inferredProject1*
    Err 10606 [14:03:26.657] Exception on executing command {
    "seq": 1586,
    "type": "request",
    "command": "provideCallHierarchyIncomingCalls",
    "arguments": {
    "file": "c:\Users\brian\brian\development\CodeVisual\src\generator.ts",
    "line": 1953,
    "offset": 10
    }
    }:

    No Project.
    
    Error: No Project.
        at Object.ThrowNoProject (c:\Users\brian\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\typescript.js:186170:11)
        at ScriptInfo.getDefaultProject (c:\Users\brian\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\typescript.js:186874:23)
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Needs InvestigationThis issue needs a team member to investigate its status.

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions