Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory leak due to duplicated lang libraries in Project API package cache #31071

Closed
azinneera opened this issue Jun 9, 2021 · 0 comments
Closed
Labels
Area/ProjectAPI Team/DevTools Ballerina Developer Tooling ( CLI, Test FW, Package Management, OpenAPI, APIDocs ) Type/Bug

Comments

@azinneera
Copy link
Contributor

Description:
Lang libraries that are not imported by default are being duplicated in the Project API package cache after the first compilation when triggered by the LS. This happens when the version of the lang library is unknown. When the version is unknown, we always resolve it from the repository and add it to the package cache resulting in duplication.

Affected Versions:
At least SL Alpha 5

@azinneera azinneera changed the title Some lang libraries are duplicated in Project API package cache for subsequent compilations Memory leak due to duplicated lang libraries in Project API package cache Jun 9, 2021
@azinneera azinneera added the Team/DevTools Ballerina Developer Tooling ( CLI, Test FW, Package Management, OpenAPI, APIDocs ) label Jun 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area/ProjectAPI Team/DevTools Ballerina Developer Tooling ( CLI, Test FW, Package Management, OpenAPI, APIDocs ) Type/Bug
Projects
None yet
Development

No branches or pull requests

1 participant