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

Reduce memory usage for easier embedding in Eclipse Che #263

Open
apupier opened this issue Aug 2, 2019 · 1 comment
Open

Reduce memory usage for easier embedding in Eclipse Che #263

apupier opened this issue Aug 2, 2019 · 1 comment

Comments

@apupier
Copy link
Member

apupier commented Aug 2, 2019

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 #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?

@apupier
Copy link
Member Author

apupier commented Aug 2, 2019

from a very first rough manual test opening one small camel file per language supported, I ended up with a max of 80Mb.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant