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

Odoo-ls not killed automatically when I kill VS Code #78

Open
remyAuneor opened this issue Nov 20, 2023 · 2 comments · May be fixed by #85
Open

Odoo-ls not killed automatically when I kill VS Code #78

remyAuneor opened this issue Nov 20, 2023 · 2 comments · May be fixed by #85
Assignees
Labels
bug Something isn't working
Milestone

Comments

@remyAuneor
Copy link

Your setup
Version: 0.2.1 &0.2.2
Operating System: Ubuntu 22.04 and i3 desktop manager
IDE and/or Integration tool (for example: Vscode - official extension): Vscode - official extension

Describe the bug
When I kill VS Code (Ctrl+q) the extension process is not killed automatically, annoying when I am working on multiples instances of VS code and each odoo-ls server is taking 1.8Go of RAM memory

To Reproduce
Steps to reproduce the behavior:*
Kill VS Code with Ctrl+q and check in the monitor that the instances of odoo-ls is still here

Expected behavior
A clear and concise description of what you expected to happen.
It should be killed at the same time as VS Code ?

@fda-odoo fda-odoo added the bug Something isn't working label Nov 20, 2023
@fda-odoo fda-odoo added this to the 0.2.3 milestone Nov 20, 2023
@fda-odoo
Copy link
Collaborator

Hello @remyAuneor , thank you for your report.
We are aware that the server process is sometimes reluctant to close properly when you quit vscode or uninstall the extension. We are actually working on it and a fix should come in the next days/week.

Regarding the ram usage, unfortunately the extension is actually loading the whole project and it can take some space in RAM. We want to improve that too, but adding cache levels and reducing memory usage is not the priority of this version, we will come back on it when the extension will be considered as stable and have enough features first. I won't give an ETA now, but know that we want to reduce the ram usage too and keep that in mind

@yao-big
Copy link

yao-big commented Nov 21, 2023

Can I automatically detect the source code location of ODOO?

Configure yourself for the rest

The odoo ide plugin can detect

@fda-odoo fda-odoo modified the milestones: 0.2.3, 0.2.4 Dec 19, 2023
@fda-odoo fda-odoo modified the milestones: 0.2.4, 0.2.5 Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants