Skip to content

Version 1.47.0 runs slowly on Windows when opening Java projects, while version 1.46.0 only takes thirty seconds to complete the Java build process #4250

Description

@caozhiyuan

Version 1.47.0 runs slowly when opening Java projects on Windows, while version 1.46.0 only takes about thirty seconds to complete the Java build status.
1.47.0.log

1.46.9.log

Activity

  1. changed the title [-]Version 1.47.0 runs slowly when opening Java projects on Windows, while version 1.46.0 only takes about ten seconds to complete the Java build status.[/-] [+]Version 1.47.0 runs slowly on Windows when opening Java projects, while version 1.46.0 only takes thirty seconds to complete the Java build process[/+] on Nov 13, 2025
  2. fbricon commented on Nov 13, 2025

    @fbricon
    Collaborator

    Can you try the latest pre release?

  3. caozhiyuan commented on Nov 13, 2025

    @caozhiyuan
    Author

    @fbricon redhat.java-1.48.2025111308-win32-x64 crashed

    Image

    this is log:

    {
      message: 'Removing old folder in globalStorage : 1.47.0',
      level: 'info',
      timestamp: '2025-11-13 17:03:56.343'
    }
    {
      message: "Use the JDK from 'java.jdt.ls.java.home' setting as the initial default project JDK.",
      level: 'info',
      timestamp: '2025-11-13 17:04:08.117'
    }
    {
      message: 'Starting Java server with: C:\\Program Files\\Java\\jdk-21\\bin\\java --add-modules=ALL-SYSTEM --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/sun.nio.fs=ALL-UNNAMED -Declipse.application=org.eclipse.jdt.ls.core.id1 -Dosgi.bundles.defaultStartLevel=4 -Declipse.product=org.eclipse.jdt.ls.core.product -Djava.import.generatesMetadataFilesAtProjectRoot=false -DDetectVMInstallationsJob.disabled=true -Dfile.encoding=utf8 -Xlog:disable -XX:+UseParallelGC -XX:GCTimeRatio=4 -Xmx3G -Xms1G -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -javaagent:c:\\Users\\xxxx\\.vscode\\extensions\\redhat.java-1.48.2025111308-win32-x64\\lombok\\lombok-1.18.39-4050.jar -jar c:\\Users\\xxxx\\.vscode\\extensions\\redhat.java-1.48.2025111308-win32-x64\\server\\plugins\\org.eclipse.equinox.launcher_1.7.100.v20251111-0406.jar -configuration c:\\Users\\xxxx\\AppData\\Roaming\\Code\\User\\globalStorage\\redhat.java\\1.48.2025111308\\config_ss_win -data c:\\Users\\xxxx\\AppData\\Roaming\\Code\\User\\workspaceStorage\\8eabefad355c1d2ca47714605d48d75d\\redhat.java\\ss_ws',
      level: 'info',
      timestamp: '2025-11-13 17:04:10.071'
    }
    {
      message: 'WARNING: Using incubator modules: jdk.incubator.vector\r\n',
      level: 'info',
      timestamp: '2025-11-13 17:04:10.889'
    }
    {
      message: 'Starting Java server with: C:\\Program Files\\Java\\jdk-21\\bin\\java --add-modules=ALL-SYSTEM --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/sun.nio.fs=ALL-UNNAMED -Declipse.application=org.eclipse.jdt.ls.core.id1 -Dosgi.bundles.defaultStartLevel=4 -Declipse.product=org.eclipse.jdt.ls.core.product -Djava.import.generatesMetadataFilesAtProjectRoot=false -DDetectVMInstallationsJob.disabled=true -Dfile.encoding=utf8 -Xlog:disable -XX:+UseParallelGC -XX:GCTimeRatio=4 -Xmx3G -Xms1G -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -javaagent:c:\\Users\\xxxx\\.vscode\\extensions\\redhat.java-1.48.2025111308-win32-x64\\lombok\\lombok-1.18.39-4050.jar -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=c:\\Users\\xxxx\\AppData\\Roaming\\Code\\User\\workspaceStorage\\8eabefad355c1d2ca47714605d48d75d\\redhat.java -Daether.dependencyCollector.impl=bf -Djdt.core.sharedIndexLocation=C:\\\\jdt\\\\index -XX:+UnlockDiagnosticVMOptions -XX:+AllowArchivingWithJavaAgent -XX:+AutoCreateSharedArchive -XX:SharedArchiveFile=c:\\Users\\xxxx\\AppData\\Roaming\\Code\\User\\globalStorage\\redhat.java\\1.48.2025111308\\jdtls.jsa -jar c:\\Users\\xxxx\\.vscode\\extensions\\redhat.java-1.48.2025111308-win32-x64\\server\\plugins\\org.eclipse.equinox.launcher_1.7.100.v20251111-0406.jar -configuration c:\\Users\\xxxx\\AppData\\Roaming\\Code\\User\\globalStorage\\redhat.java\\1.48.2025111308\\config_win -data c:\\Users\\xxxx\\AppData\\Roaming\\Code\\User\\workspaceStorage\\8eabefad355c1d2ca47714605d48d75d\\redhat.java\\jdt_ws',
      level: 'info',
      timestamp: '2025-11-13 17:04:11.377'
    }
    {
      message: 'Error occurred during CDS dumping\n' +
        'CDS dumping does not support native JVMTI agent, name: C:\\Program Files\\SentinelOne\\Sentinel Agent 24.1.5.277\\SentinelJava64.dll\n',
      level: 'info',
      timestamp: '2025-11-13 17:04:11.565'
    }
    
    

    SentinelOne is the company's security software

  4. caozhiyuan commented on Nov 13, 2025

    @caozhiyuan
    Author

    @fbricon 1.47.0 on mac , works ok. it takes thirty seconds to complete the Java build process

  5. fbricon commented on Nov 13, 2025

    @fbricon
    Collaborator

    App CDS is automatically enabled for pre-releases. You can disable it with "java.jdt.ls.appcds.enabled":false

  6. caozhiyuan commented on Nov 13, 2025

    @caozhiyuan
    Author

    @fbricon There are many exceptions, the logs are as follows

    pre.log

  7. caozhiyuan commented on Nov 13, 2025

    @caozhiyuan
    Author

    Image and got this . config is "java.jdt.ls.vmargs": "-XX:+UseParallelGC -XX:GCTimeRatio=4 -Xmx3G -Xms1G -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true", i think 3G is enough

  8. fbricon commented on Nov 13, 2025

    @fbricon
    Collaborator

    Can you try to disable all extensions but vscode-java, and run the "Java: Clean Java Language Server Workspace" command?

  9. caozhiyuan commented on Nov 13, 2025

    @caozhiyuan
    Author

    @fbricon it works ok on my home windows computer (only vscode-java , all extensions same works ok ), but got this error .

    Image Image
  10. fbricon commented on Nov 13, 2025

    @fbricon
    Collaborator

    Could be an orphan java process keeping a lock on some files. Normally, these processes would self-terminate after at most 30sec, if their parent PID was killed. If it keeps happening after a while, I'd say try to restart your windows session ... or computer

  11. snjeza commented on Nov 13, 2025

    @snjeza
    Collaborator
  12. added this to the End November 2025 milestone on Nov 19, 2025
  13. skyblackhawk commented on Feb 26, 2026

    @skyblackhawk

    For me today go out "Failed to find Main Class ...eclipse\plugins/org.eclipse.equinox.launcher_1.7.100v20251111-0406.jar" from 3 days ago.
    I suppose update my eclipse installation and I can't correct it I need to reinstall all.
    I'm using java 21.0.10

    Invece di cancellare la directory org.eclipse.osgi l'ho rinominata org.eclipse.osgi.OLD ma mi da il medeismo errore.

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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions