Skip to content

CPU usage with vscode and the petrol library #1489

@clecat

Description

@clecat

Hello,

I am currently working with the library petrol while coding in vscode and I have encountered a strange issue with ocamllsp: Indeed, whenever I try to code SQL queries using Petrol's Query and Expr modules, my whole editor seems to slow down quite substantially and code correction stops working altogether.

When I check my processes, it appears that the ocamllsp process has a CPU usage of 100%. The only "workaround" is found is to kill the process and use the short time window where everything works fine before it starts again.

I figured I should open this issue as you might have better solutions,
Thank you for your time, Gwen

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions