microsoft / vscode-cpptools

Official repository for the Microsoft C/C++ extension for VS Code.
Other
5.46k stars 1.53k forks source link

Intellisense Server seems to ignore RAM restrictions #11014

Open petacreepers23 opened 1 year ago

petacreepers23 commented 1 year ago

Environment

Bug Summary and Steps to Reproduce

Bug Summary: Intellisense seems to ignore RAM restrictions, I have set the minimum values that the setting file let me put in for maximun RAM usage and cache, also minimum number of threads to 2. Full list of settings below on "Steps to reproduce". Then, using the editor and monitoring ram usage with task manager still uses as much as it can get, even if it blocks the system. Also seems to ignore max number of proceses.

image

In the logs I'll attach, short after "Database safe to open" I could spot a memory usage of up to 2170Mb, way above the max I've set.

Steps to reproduce:

  1. Go to C/C++ extension settings > Resource Management. Then:

(All the settings are in order)

  1. Go to C/C++ extension settings (Workspace) > Resource Management. Then:
  1. Make sure the wokspace is a big enough project (>1024Mb) (My case Unreal Engine 5)
  2. Monitor RAM usage and processes for C/C++ IntelliSense Server for Visual Studio Code and it will consistenly be using over 256Mb+128Mb(cache) per process.

Expected behavior: Having the Memory restrictions set, it is expected to be met by the server.

Configuration and Logs

{
    "configurations": [
        {
            "name": "ClickerTestEditor Editor Win64 Development (ClickerTest)",
            "compilerPath": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.33.31629\\bin\\HostX64\\x64\\cl.exe",
            "cStandard": "c17",
            "cppStandard": "c++17",
            "intelliSenseMode": "msvc-x64",
            "compileCommands": "C:\\Users\\reiva\\Documents\\Unreal Projects\\ClickerTest\\.vscode\\compileCommands_ClickerTest.json"
        },
        {
            "name": "Win32",
            "compilerPath": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.33.31629\\bin\\HostX64\\x64\\cl.exe",
            "cStandard": "c17",
            "cppStandard": "c++17",
            "intelliSenseMode": "msvc-x64",
            "compileCommands": "C:\\Users\\reiva\\Documents\\Unreal Projects\\ClickerTest\\.vscode\\compileCommands_Default.json"
        }
    ],
    "version": 4
}

-------- Diagnostics - 5/26/2023, 4:41:59 PM
Version: 1.15.4
Current Configuration:
{
    "name": "ClickerTestEditor Editor Win64 Development (ClickerTest)",
    "compilerPath": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.33.31629\\bin\\HostX64\\x64\\cl.exe",
    "cStandard": "c17",
    "cppStandard": "c++17",
    "intelliSenseMode": "msvc-x64",
    "compileCommands": "C:\\Users\\reiva\\Documents\\Unreal Projects\\ClickerTest\\.vscode\\compileCommands_ClickerTest.json",
    "compilerPathIsExplicit": true,
    "cStandardIsExplicit": true,
    "cppStandardIsExplicit": true,
    "intelliSenseModeIsExplicit": true,
    "compilerPathInCppPropertiesJson": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.33.31629\\bin\\HostX64\\x64\\cl.exe",
    "compileCommandsInCppPropertiesJson": "C:\\Users\\reiva\\Documents\\Unreal Projects\\ClickerTest\\.vscode\\compileCommands_ClickerTest.json",
    "compilerArgs": [
        "-std=c++23"
    ],
    "mergeConfigurations": false,
    "browse": {
        "limitSymbolsToIncludedHeaders": true
    }
}
Translation Unit Mappings:
[ C:\Users\reiva\Documents\Unreal Projects\ClickerTest\Source\ClickerTest\gui\IntermediaryWidget.cpp ]:
    C:\Users\reiva\Documents\Unreal Projects\ClickerTest\Source\ClickerTest\gui\IntermediaryWidget.cpp
    C:\Users\reiva\Documents\Unreal Projects\ClickerTest\Source\ClickerTest\gui\IntermediaryWidget.h *
Translation Unit Configurations:
[ C:\Users\reiva\Documents\Unreal Projects\ClickerTest\Source\ClickerTest\gui\IntermediaryWidget.cpp ]:
    Process ID: 14380
    Memory Usage: 1569 MB
    Compiler Path: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\bin\HostX64\x64\cl.exe
    Includes:
        C:\Program Files\Epic Games\UE_5.1\Engine\Source
        C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\Build\Win64\UnrealEditor\Inc\Engine\UHT
        C:\Program Files\Epic Games\UE_5.1\Engine\Source\Runtime
...[MORE]
        C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\cppwinrt
    Forced Includes:
        C:\USERS\REIVA\DOCUMENTS\UNREAL PROJECTS\CLICKERTEST\INTERMEDIATE\BUILD\WIN64\UNREALEDITOR\DEVELOPMENT\CLICKERTEST\DEFINITIONS.CLICKERTEST.H
        C:\USERS\REIVA\DOCUMENTS\UNREAL PROJECTS\CLICKERTEST\INTERMEDIATE\BUILD\WIN64\CLICKERTESTEDITOR\DEVELOPMENT\ENGINE\SHAREDPCH.ENGINE.SHADOWERRORS.INCLORDERUNREAL5_0.H
    Standard Version: ms_c++17
    IntelliSense Mode: windows-msvc-x64
    compile_commands.json entry:
        directory: C:\Program Files\Epic Games\UE_5.1\Engine\Source
        file: C:\Users\reiva\Documents\Unreal Projects\ClickerTest\Source\ClickerTest\gui\IntermediaryWidget.cpp
        arguments:
            C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\bin\HostX64\x64\cl.exe
            @C:\Users\reiva\Documents\Unreal Projects\ClickerTest\.vscode\compileCommands_ClickerTest\ClickerTest.255.rsp
Total Memory Usage: 1569 MB
Browse Paths from compile_commands.json, from workspace folder: C:\Users\reiva\Documents\Unreal Projects\ClickerTest
    C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\Build\Win64\UnrealEditor\Inc\AIModule\UHT
    C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\Build\Win64\UnrealEditor\Inc\AddContentDialog\UHT
    C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\Build\Win64\UnrealEditor\Inc\AdvancedPreviewScene\UHT
    C:\Program Files\Epic 
...[MORE]
    C:\Users\reiva\Documents\Unreal Projects\ClickerTest\Source\ClickerTest\gui

------- Workspace parsing diagnostics -------
Number of files discovered (not excluded): 65181

IntelliSense process crash detected.
loggingLevel has changed to: Debug
LSP: cpptools/getCodeActions: file:///c%3A/Users/reiva/Documents/Unreal%20Projects/ClickerTest/Source/ClickerTest/gui/IntermediaryWidget.h (id: 435)
LSP: cpptools/getDocumentSymbols: file:///c%3A/Users/reiva/Documents/Unreal%20Projects/ClickerTest/Source/ClickerTest/gui/IntermediaryWidget.h (id: 436)
LSP: textDocument/documentHighlight: file:///c%3A/Users/reiva/Documents/Unreal%20Projects/ClickerTest/Source/ClickerTest/gui/IntermediaryWidget.h (id: 437)
LSP: cpptools/textEditorSelectionChange
LSP: cpptools/activeDocumentChange: file:///c%3A/Users/reiva/Documents/Unreal%20Projects/ClickerTest/Source/ClickerTest/gui/IntermediaryWidget.h
LSP: cpptools/getCodeActions: file:///c%3A/Users/reiva/Documents/Unreal%20Projects/ClickerTest/Source/ClickerTest/gui/IntermediaryWidget.h (id: 438)
LSP: cpptools/getInlayHints: file:///c%3A/Users/reiva/Documents/Unreal%20Projects/ClickerTest/Source/ClickerTest/gui/IntermediaryWidget.h (id: 439)
LSP: Request canceled by server (cpptools/getInlayHints, id: 406)
LSP: textDocument/hover: file:///c%3A/Users/reiva/Documents/Unreal%20Projects/ClickerTest/Source/ClickerTest/gui/IntermediaryWidget.h (id: 440)
IntelliSense process crash detected.
IntelliSense engine is not responding. Using the Tag Parser instead.
using Tag Parser for quick info
IntelliSense process crash detected.
idle loop: reparsing the active document
Checking for syntax errors: C:\Users\reiva\Documents\Unreal Projects\ClickerTest\Source\ClickerTest\gui\IntermediaryWidget.h
Update IntelliSense time (sec): 0
LSP: $/cancelRequest (cpptools/getInlayHints, id: 439)
LSP: cpptools/getInlayHints: file:///c%3A/Users/reiva/Documents/Unreal%20Projects/ClickerTest/Source/ClickerTest/gui/IntermediaryWidget.h (id: 441)
LSP: Request canceled by server (<unknown/completed>, id: 439)
LSP: cpptools/textEditorSelectionChange
LSP: cpptools/activeDocumentChange: file:///c%3A/Users/reiva/Documents/Unreal%20Projects/ClickerTest/Source/ClickerTest/gui/IntermediaryWidget.cpp
LSP: cpptools/getCodeActions: file:///c%3A/Users/reiva/Documents/Unreal%20Projects/ClickerTest/Source/ClickerTest/gui/IntermediaryWidget.cpp (id: 442)
LSP: cpptools/textEditorSelectionChange
LSP: cpptools/getInlayHints: file:///c%3A/Users/reiva/Documents/Unreal%20Projects/ClickerTest/Source/ClickerTest/gui/IntermediaryWidget.cpp (id: 443)
LSP: cpptools/getCodeActions: file:///c%3A/Users/reiva/Documents/Unreal%20Projects/ClickerTest/Source/ClickerTest/gui/IntermediaryWidget.cpp (id: 444)
idle loop: reparsing the active document
Checking for syntax errors: C:\Users\reiva\Documents\Unreal Projects\ClickerTest\Source\ClickerTest\gui\IntermediaryWidget.cpp
Update IntelliSense time (sec): 0.001
LSP: cpptools/getFoldingRanges: file:///c%3A/Users/reiva/Documents/Unreal%20Projects/ClickerTest/Source/ClickerTest/gui/IntermediaryWidget.cpp (id: 445)
LSP: cpptools/textEditorSelectionChange
LSP: cpptools/activeDocumentChange: file:///c%3A/Users/reiva/Documents/Unreal%20Projects/ClickerTest/Source/ClickerTest/gui/IntermediaryWidget.h
LSP: cpptools/getCodeActions: file:///c%3A/Users/reiva/Documents/Unreal%20Projects/ClickerTest/Source/ClickerTest/gui/IntermediaryWidget.h (id: 446)
LSP: cpptools/textEditorSelectionChange
LSP: cpptools/getCodeActions: file:///c%3A/Users/reiva/Documents/Unreal%20Projects/ClickerTest/Source/ClickerTest/gui/IntermediaryWidget.h (id: 447)
LSP: cpptools/getInlayHints: file:///c%3A/Users/reiva/Documents/Unreal%20Projects/ClickerTest/Source/ClickerTest/gui/IntermediaryWidget.h (id: 448)
LSP: Request canceled by server (cpptools/getInlayHints, id: 441)
idle loop: reparsing the active document
Checking for syntax errors: C:\Users\reiva\Documents\Unreal Projects\ClickerTest\Source\ClickerTest\gui\IntermediaryWidget.h
Update IntelliSense time (sec): 0.001
LSP: cpptools/textEditorSelectionChange
LSP: textDocument/willSaveWaitUntil: file:///c%3A/Users/reiva/Documents/Unreal%20Projects/ClickerTest/Source/ClickerTest/gui/IntermediaryWidget.h (id: 449)
willSaveWaitUntil: 0ms
LSP: textDocument/didSave: file:///c%3A/Users/reiva/Documents/Unreal%20Projects/ClickerTest/Source/ClickerTest/gui/IntermediaryWidget.h
  tag parsing file: C:\Users\reiva\Documents\Unreal Projects\ClickerTest\Source\ClickerTest\gui\IntermediaryWidget.h
LSP: cpptools/fileChanged: file:///c%3A/Users/reiva/Documents/Unreal%20Projects/ClickerTest/Source/ClickerTest/gui/IntermediaryWidget.h
idle loop: reparsing the active document
Checking for syntax errors: C:\Users\reiva\Documents\Unreal Projects\ClickerTest\Source\ClickerTest\gui\IntermediaryWidget.h
Update IntelliSense time (sec): 0
LSP: $/cancelRequest (cpptools/getInlayHints, id: 448)
LSP: cpptools/textEditorSelectionChange
LSP: cpptools/activeDocumentChange: file:///c%3A/Users/reiva/Documents/Unreal%20Projects/ClickerTest/Source/ClickerTest/gui/IntermediaryWidget.cpp
LSP: cpptools/getCodeActions: file:///c%3A/Users/reiva/Documents/Unreal%20Projects/ClickerTest/Source/ClickerTest/gui/IntermediaryWidget.cpp (id: 450)
LSP: cpptools/textEditorSelectionChange
idle loop: reparsing the active document
Checking for syntax errors: C:\Users\reiva\Documents\Unreal Projects\ClickerTest\Source\ClickerTest\gui\IntermediaryWidget.cpp
Update IntelliSense time (sec): 0
LSP: cpptools/getCodeActions: file:///c%3A/Users/reiva/Documents/Unreal%20Projects/ClickerTest/Source/ClickerTest/gui/IntermediaryWidget.cpp (id: 451)
LSP: cpptools/getFoldingRanges: file:///c%3A/Users/reiva/Documents/Unreal%20Projects/ClickerTest/Source/ClickerTest/gui/IntermediaryWidget.cpp (id: 452)
LSP: cpptools/textEditorSelectionChange
LSP: cpptools/getCodeActions: file:///c%3A/Users/reiva/Documents/Unreal%20Projects/ClickerTest/Source/ClickerTest/gui/IntermediaryWidget.cpp (id: 453)
LSP: cpptools/textEditorSelectionChange
LSP: cpptools/activeDocumentChange: file:///c%3A/Users/reiva/Documents/Unreal%20Projects/ClickerTest/Source/ClickerTest/ClickerManager.cpp
LSP: cpptools/getCodeActions: file:///c%3A/Users/reiva/Documents/Unreal%20Projects/ClickerTest/Source/ClickerTest/ClickerManager.cpp (id: 454)
LSP: cpptools/getDocumentSymbols: file:///c%3A/Users/reiva/Documents/Unreal%20Projects/ClickerTest/Source/ClickerTest/ClickerManager.cpp (id: 455)
LSP: cpptools/textEditorSelectionChange
LSP: cpptools/getCodeActions: file:///c%3A/Users/reiva/Documents/Unreal%20Projects/ClickerTest/Source/ClickerTest/ClickerManager.cpp (id: 456)
LSP: cpptools/getInlayHints: file:///c%3A/Users/reiva/Documents/Unreal%20Projects/ClickerTest/Source/ClickerTest/ClickerManager.cpp (id: 457)
LSP: Request canceled by server (cpptools/getInlayHints, id: 382)
idle loop: reparsing the active document
Checking for syntax errors: C:\Users\reiva\Documents\Unreal Projects\ClickerTest\Source\ClickerTest\ClickerManager.cpp
sending compilation args for C:\Users\reiva\Documents\Unreal Projects\ClickerTest\Source\ClickerTest\ClickerManager.cpp
  include: C:\PROGRAM FILES\EPIC GAMES\UE_5.1\ENGINE\SOURCE
  include: C:\PROGRAM FILES\EPIC GAMES\UE_5.1\ENGINE\INTERMEDIATE\BUILD\WIN64\UNREALEDITOR\INC\ENGINE\UHT
  include: C:\PROGRAM FILES\EPIC GAMES\UE_5.1\ENGINE\SOURCE\RUNTIME
  include: C:\PROGRAM FILES\EPIC GAMES\UE_5.1\ENGINE\SHADERS\SHARED
  include: C:\PROGRAM FILES\EPIC GAMES\UE_5.1\ENGINE\SOURCE\RUNTIME\ENGINE\CLASSES
  include: C:\PROGRAM FILES\EPIC GAMES\UE_5.1\ENGINE\SOURCE\RUNTIME\ENGINE\PUBLIC
  include: C:\PROGRAM FILES\EPIC GAMES\UE_5.1\ENGINE\SOURCE\RUNTIME\TRACELOG\PUBLIC
  include: C:\PROGRAM FILES\EPIC GAMES\UE_5.1\ENGINE\SOURCE\RUNTIME\CORE\PUBLIC
  include: C:\PROGRAM FILES\EPIC GAMES\UE_5.1\ENGINE\INTERMEDIATE\BUILD\WIN64\UNREALEDITOR\INC\COREONLINE\UHT
  include: C:\PROGRAM FILES\EPIC GAMES\UE_5.1\ENGINE\SOURCE\RUNTIME\COREONLINE\PUBLIC
  include: C:\PROGRAM FILES\EPIC GAMES\UE_5.1\ENGINE\INTERMEDIATE\BUILD\WIN64\UNREALEDITOR\INC\COREUOBJECT\UHT
  include: C:\PROGRAM FILES\EPIC GAMES\UE_5.1\ENGINE\SOURCE\RUNTIME\COREUOBJECT\PUBLIC
...[MORE]
PROJECTS\CLICKERTEST\INTERMEDIATE\BUILD\WIN64\UNREALEDITOR\DEVELOPMENT\CLICKERTEST\DEFINITIONS.CLICKERTEST.H
  preinclude: C:\USERS\REIVA\DOCUMENTS\UNREAL PROJECTS\CLICKERTEST\INTERMEDIATE\BUILD\WIN64\CLICKERTESTEDITOR\DEVELOPMENT\ENGINE\SHAREDPCH.ENGINE.SHADOWERRORS.INCLORDERUNREAL5_0.H
  stdver: ms_c++17
  intelliSenseMode: windows-msvc-x64
Queueing IntelliSense update for files in translation unit of: C:\Users\reiva\Documents\Unreal Projects\ClickerTest\Source\ClickerTest\ClickerManager.cpp
Database safe to open
LSP: textDocument/hover: file:///c%3A/Users/reiva/Documents/Unreal%20Projects/ClickerTest/Source/ClickerTest/ClickerManager.cpp (id: 458)
LSP: $/cancelRequest (textDocument/hover, id: 458)
LSP: textDocument/hover: file:///c%3A/Users/reiva/Documents/Unreal%20Projects/ClickerTest/Source/ClickerTest/ClickerManager.cpp (id: 459)
LSP: $/cancelRequest (textDocument/hover, id: 459)
LSP: cpptools/getFoldingRanges: file:///c%3A/Users/reiva/Documents/Unreal%20Projects/ClickerTest/Source/ClickerTest/ClickerManager.cpp (id: 460)
Shutting down IntelliSense server: C:\USERS\REIVA\DOCUMENTS\UNREAL PROJECTS\CLICKERTEST\SOURCE\CLICKERTEST\CLICKERMANAGER.CPP. Memory usage is 2288 MB and has exceeded the 256 MB limit.
IntelliSense process crash detected.
Checking for syntax errors: C:\Users\reiva\Documents\Unreal Projects\ClickerTest\Source\ClickerTest\ClickerManager.cpp
Resetting IntelliSense server: C:\Users\reiva\Documents\Unreal Projects\ClickerTest\Source\ClickerTest\ClickerManager.cpp
sending compilation args for C:\Users\reiva\Documents\Unreal Projects\ClickerTest\Source\ClickerTest\ClickerManager.cpp
  include: C:\PROGRAM FILES\EPIC GAMES\UE_5.1\ENGINE\SOURCE
  include: C:\PROGRAM FILES\EPIC GAMES\UE_5.1\ENGINE\INTERMEDIATE\BUILD\WIN64\UNREALEDITOR\INC\ENGINE\UHT
  include: C:\PROGRAM FILES\EPIC GAMES\UE_5.1\ENGINE\SOURCE\RUNTIME
  include: C:\PROGRAM FILES\EPIC GAMES\UE_5.1\ENGINE\SHADERS\SHARED
  include: C:\PROGRAM FILES\EPIC GAMES\UE_5.1\ENGINE\SOURCE\RUNTIME\ENGINE\CLASSES
  include: C:\PROGRAM FILES\EPIC GAMES\UE_5.1\ENGINE\SOURCE\RUNTIME\ENGINE\PUBLIC
  include: C:\PROGRAM FILES\EPIC GAMES\UE_5.1\ENGINE\SOURCE\RUNTIME\TRACELOG\PUBLIC
  include: C:\PROGRAM FILES\EPIC GAMES\UE_5.1\ENGINE\SOURCE\RUNTIME\CORE\PUBLIC
  include: C:\PROGRAM FILES\EPIC 
...[MORE]
  include: C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.22621.0\SHARED
  include: C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.22621.0\WINRT
  include: C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.22621.0\CPPWINRT
  preinclude: C:\USERS\REIVA\DOCUMENTS\UNREAL PROJECTS\CLICKERTEST\INTERMEDIATE\BUILD\WIN64\UNREALEDITOR\DEVELOPMENT\CLICKERTEST\DEFINITIONS.CLICKERTEST.H
  preinclude: C:\USERS\REIVA\DOCUMENTS\UNREAL PROJECTS\CLICKERTEST\INTERMEDIATE\BUILD\WIN64\CLICKERTESTEDITOR\DEVELOPMENT\ENGINE\SHAREDPCH.ENGINE.SHADOWERRORS.INCLORDERUNREAL5_0.H
  stdver: ms_c++17
  intelliSenseMode: windows-msvc-x64
Error squiggle count: 0
Checking for syntax errors: C:\Users\reiva\Documents\Unreal Projects\ClickerTest\Source\ClickerTest\ClickerManager.cpp
Shutting down IntelliSense server: C:\Users\reiva\Documents\Unreal Projects\ClickerTest\Source\ClickerTest\ClickerManager.cpp
sending compilation args for C:\Users\reiva\Documents\Unreal Projects\ClickerTest\Source\ClickerTest\ClickerManager.cpp
  include: C:\PROGRAM FILES\EPIC GAMES\UE_5.1\ENGINE\SOURCE
  include: C:\PROGRAM FILES\EPIC GAMES\UE_5.1\ENGINE\INTERMEDIATE\BUILD\WIN64\UNREALEDITOR\INC\ENGINE\UHT
  include: C:\PROGRAM FILES\EPIC GAMES\UE_5.1\ENGINE\SOURCE\RUNTIME
  include: C:\PROGRAM FILES\EPIC GAMES\UE_5.1\ENGINE\SHADERS\SHARED
  include: C:\PROGRAM FILES\EPIC GAMES\UE_5.1\ENGINE\SOURCE\RUNTIME\ENGINE\CLASSES
  include: C:\PROGRAM FILES\EPIC GAMES\UE_5.1\ENGINE\SOURCE\RUNTIME\ENGINE\PUBLIC
  include: C:\PROGRAM FILES\EPIC GAMES\UE_5.1\ENGINE\SOURCE\RUNTIME\TRACELOG\PUBLIC
  include: C:\PROGRAM FILES\EPIC GAMES\UE_5.1\ENGINE\SOURCE\RUNTIME\CORE\PUBLIC
  include: C:\PROGRAM FILES\EPIC GAMES\UE_5.1\ENGINE\INTERMEDIATE\BUILD\WIN64\UNREALEDITOR\INC\COREONLINE\UHT
  include: C:\PROGRAM FILES\EPIC GAMES\UE_5.1\ENGINE\SOURCE\RUNTIME\COREONLINE\PUBLIC
...[MORE]
  include: C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.22621.0\UM
  include: C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.22621.0\UCRT
  include: C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.22621.0\SHARED
  include: C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.22621.0\WINRT
  include: C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.22621.0\CPPWINRT
  preinclude: C:\USERS\REIVA\DOCUMENTS\UNREAL PROJECTS\CLICKERTEST\INTERMEDIATE\BUILD\WIN64\UNREALEDITOR\DEVELOPMENT\CLICKERTEST\DEFINITIONS.CLICKERTEST.H
  preinclude: C:\USERS\REIVA\DOCUMENTS\UNREAL PROJECTS\CLICKERTEST\INTERMEDIATE\BUILD\WIN64\CLICKERTESTEDITOR\DEVELOPMENT\ENGINE\SHAREDPCH.ENGINE.SHADOWERRORS.INCLORDERUNREAL5_0.H
  other: --header_only_fallback
  stdver: ms_c++17
  intelliSenseMode: windows-msvc-x64
Queueing IntelliSense update for files in translation unit of: C:\Users\reiva\Documents\Unreal Projects\ClickerTest\Source\ClickerTest\ClickerManager.cpp
Error squiggle count: 0
LSP: Request canceled by server (cpptools/getSemanticTokens, id: 257)
Update IntelliSense time (sec): 89.425
LSP: cpptools/getSemanticTokens: file:///c%3A/Users/reiva/Documents/Unreal%20Projects/ClickerTest/Source/ClickerTest/ClickerManager.cpp (id: 461)
LSP: cpptools/getFoldingRanges: file:///c%3A/Users/reiva/Documents/Unreal%20Projects/ClickerTest/Source/ClickerTest/ClickerManager.cpp (id: 462)

Other Extensions

No response

Additional context

I have not enough ram to debug the heap to see which objects are taking more memory as explained in Performance analysis.

Colengms commented 1 year ago

Hi @petacreepers23 . Thanks for reporting this. We'll need to investigate this further.

Colengms commented 7 months ago

Hi @petacreepers23 . With version 1.19.2 and later, there have been some significant changes to how IntelliSense processes are managed. You may see some improvements in this behavior.

In the case of memory limits, it's by-design that the limit might be exceeded within the course of any specific operation (which may be what you captured in your original post, as the process is busy), as that operation will be allowed to complete before any limits are applied. Also, if an IntelliSense process requires more than the specified memory limit to provide basic functionality (to work at all), it may exceed limits. If using Unreal Engine, I suspect the baseline memory requirement for basic functionality would be well above the limits you mentioned using.