-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[jb] add a warning if runtime Xmx is different from configured #10924
Comments
Hi Anton! Sure, I would look into it. |
Some thoughts:
Pros & Cons:
What do you think @akosyakov @loujaybee 🙏 |
I would start with 1 and then we can refactor to 2 if necessary. Do you need pointers about how to get yaml AST, modify and so on? |
Thanks Anton, I had some experience playing around with IntelliJ PSI, I will try first and I will let you know if I need help 🤝 |
there is yaml plugin already, so it should work |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
An idea is to detect a user change to the actual max heap size in the backend plugin and suggest a user to put in .gitpod.yml to persist. So the flow would be like:
@yaohui-wyh Maybe you can have a look how we can validate .gitpod.yml? Basically add a warning on .gitpod.yml or on a project if the file is missing if configured Xmx at runtime is different from default one. Later we can add a quick fix to add it into .gitpod.yml
The text was updated successfully, but these errors were encountered: