vscode-as3mxml: High CPU load (~300%) for java process

After recent updates to as3mxml (v0.23.2) the java process started to throttle CPU when using as3mxml extension with VS Code (I’m using the most recent one, 1.39.2).

Screen Shot 2019-10-30 at 4 02 14 PM

I’m on a MacBook Pro, macOS Mojave 10.14.6 and I never faced an issue like that before. Processor usage was high but never that high. And now java constantly does that even if the mxml/as files are closed in the editor.

P.S. It starts after a while, I think after I open 2-3 .as or .mxml files. And java process doesn’t quit if I quit VS Code. I have to kill java manually every time I close the window.

How can I pinpoint the problem? Thank you!

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 1
  • Comments: 29 (13 by maintainers)

Most upvoted comments

Same problem. I have a very big project, and sometime it takes a very long time for as3mxml language server initialization. And sometimes it takes high cpu load(almost 100% on windows).
If I kill the process I got “Connection to server got closed. Server will restart.” on output of as3mxml language server, ant then the load of cpu goes high again. Here are some infomations.

cpu language_server_output.txt

Thanks, I’ll take a look!