Skip to content

Extension causes high cpu load #1220

Closed
Closed

Description

@Alejandro2134
  • Issue Type: Performance
  • Extension Name: java
  • Extension Version: 0.55.1
  • OS Version: Linux x64 5.0.0-37-generic
  • VSCode version: 1.41.1

⚠️ Make sure to attach this file from your home-directory:
⚠️/home/alejo/redhat.java-unresponsive.cpuprofile.txt

Find more details here: https://github.com/microsoft/vscode/wiki/Explain-extension-causes-high-cpu-load

Activity

  1. coryroloff commented on May 11, 2020

    @coryroloff

    I'm having the same issue.

  2. cforce commented on Oct 4, 2020

    @cforce
  3. cforce commented on Feb 10, 2021

    @cforce

    Seems like it got worse by the minute with vscode 1.53.1. However i still have CPU left, so its no interupting/freeze for other reasons in can 't root.
    microsoft/vscode#116379

    Currently switching back from 0.74.0 to 0.73.0 ..

  4. apupier commented on Mar 26, 2021

    @apupier
    Member

    Can you provide a bit more context to help investigation please?
    Can you precise:

    • the type of project you hvae in your workspace (even better if you cna point to them directly)
    • the Java version used
    • if it happens after a specific action? or as soon as VS Code is opened?
  5. testforstephen commented on Mar 26, 2021

    @testforstephen
    Collaborator

    See #1831 (comment), there is a known issue that will slow down the Java extension performance. Please check if you enable the verbose server log via setting "java.trace.server". if so, you need turn it off.

  6. apupier commented on Apr 1, 2021

    @apupier
    Member

    See #1831 (comment), there is a known issue that will slow down the Java extension performance. Please check if you enable the verbose server log via setting "java.trace.server". if so, you need turn it off.

    this might affect @cforce effectively.

    @Alejandro2134 I think it was long time before the pointed regression. Can you provide more details please?

  7. cforce commented on May 12, 2021

    @cforce

    Can you provide a bit more context to help investigation please?
    Can you precise:

    • the type of project you hvae in your workspace (even better if you cna point to them directly)
    • the Java version used
    • if it happens after a specific action? or as soon as VS Code is opened?

    Java 8 (any most current version)
    ~10 Sprint Boot multi module maven projects
    seems like they just fire ad-hoc (without clear relation) taking all the cpu away to 100% percent . Only killing the java process gives me back control, afterwards the process is started again, starting to take on again until i kill it again up to 3 times, than it keeps "silent"

  8. robstryker commented on Nov 4, 2026

    @robstryker
    Contributor

    This seems old and not really relevant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions