camel-tooling / camel-tooling/camel-language-server
Reduce memory usage for easier embedding in Eclipse Che
- Dominant language
- Java
- Stars
- 56
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Description
Camel stack has reached max memory currently available on che.openshift.io (3G)
Camel VS Code extension is configured with 200Mi (it wasn't working with 128Mi)
https://github.com/eclipse/che-devfile-registry/blob/ac9d602a72fbe43e85a10dec3a46c9540d893127/devfiles/apache-camel-springboot/devfile.yaml#L17-L19
would be interesting to reduce it.
One idea is to provide a native image of the language server part https://github.com/camel-tooling/camel-language-server/issues/241
It would be great to know what is the current usage of the language server itself and see if we can start by grapping a bit here. maybe just need to set a small -Xmx when launching in VS Code? but to which value?
Contributor guide
Research direction
Start with the referenced devfiles/apache-camel-springboot/devfile.yaml lines 17-19 and the Camel VS Code extension's language-server launch configuration. Measure the language server's current memory use in Eclipse Che, then determine and document a concrete reduction target or viable approach, such as an appropriate heap limit or native image investigation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, vscode, yaml
- Domain
- devtools, performance
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100