[Bug]: Language Server crashes when opening a project with a large number of Ballerina types #42612
Labels
Fix/Crash
All issues caused by NPE, CCE, etc
Team/LanguageServer
Language Server Implementation related issues. #Compiler
Type/Bug
Description
The LS crashes when trying to open the Ballerina Zuora module in VS Code. Although the server crashes without showing any error logs, it appears to be an OOM leading to its shutdown.
The program can be successfully built without encountering any issues. However, the LS crashes in the same for a new package that relies on the locally published Zuora module as a dependency.
Steps to Reproduce
Clone the following project and open the
ballerina
directory in VSCode.https://github.com/ayeshLK/module-ballerinax-zuora/tree/openapi-spec
Affected Version(s)
Ballerina 2201.8.6 (Swan Lake Update 8)
OS, DB, other environment details and versions
OS: macOS 14.4.1 23E224
JDK: openjdk 17.0.8 2023-07-1
Related area
-> Compilation
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response
The text was updated successfully, but these errors were encountered: