question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

High CPU load (~300%) for java process

See original GitHub issue

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!

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:1
  • Comments:29 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
lonelyma1021commented, Dec 18, 2019

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

1reaction
joshtynjalacommented, Oct 31, 2019

Thanks, I’ll take a look!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix high Java CPU usage problems - TheServerSide.com
Direct causes of high Java CPU usage · Infinite loops · Poorly written workflows and algorithms · Recursive logic · Poorly chosen collection...
Read more >
Java is eating up 300% of my CPU - Apple Stack Exchange
Ian C. put me on the right track. I checked out the items that were running in Java by using the Open Files...
Read more >
High CPU Usage while typing (<JIT Compiler> goes over 300%)
CPU Usage doesn't go over 300%. Smooth typing. What happens instead? The CPU usage increases over 100% and. I tried to disable the...
Read more >
High Java CPU Usage – Troubleshooting Tips - eG Innovations
Poorly designed application code with inefficient or infinite loops · Inefficient algorithms (poor application logic) · Recursive method calls ( ...
Read more >
High CPU usage spinning Java processes on RHEV manager ...
We have a problem with high CPU load caused by a java process on a RHEV manager server. The offending java process takes...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found