IntelliJ IDEA 2025.1.7.1 Very Slow on Windows 11 During Git Operations and Branch Switching

Answered

Hi Team,

I’m facing severe performance issues with IntelliJ IDEA Community Edition, especially during Git-related operations.

Environment

IntelliJ Version

IntelliJ IDEA 2025.1.7.1 (Community Edition)

System Configuration

  • OS: Windows 11 Pro
  • CPU: Intel Core i7-1165G7 @ 2.80 GHz
  • RAM: 16 GB

Current VM Options

-Xms1024m
-Xmx6144m
-XX:ReservedCodeCacheSize=512m
-XX:+UseG1GC
-XX:HeapBaseMinAddress=2g
-Xss512k

 

Problem Description

IntelliJ IDEA becomes very slow during common operations such as:

  • Git Pull
  • Git Diff
  • Switching branches
  • Indexing after branch switch
  • General project responsiveness

Sometimes even simple Git operations take a long time to complete, and the IDE feels laggy overall.

Additional Observations

  • CPU usage occasionally spikes during Git operations.
  • Branch switching freezes the IDE for several seconds/minutes.
  • Git operations from terminal seem faster than from IntelliJ.
  • Issue is more noticeable on large projects.

Questions

  1. Are my VM options optimal for a 16 GB RAM machine?
  2. Is there any recommended tuning for Git performance in IntelliJ IDEA 2025?
  3. Are there known issues with Git integration in this version?
  4. Would disabling certain plugins/features help?
  5. Any recommendations for improving indexing and branch-switch performance?

What I’ve Tried

  • Increased heap size to 6 GB
  • Restarted IDE multiple times
  • Invalidated caches
  • Updated Git version
  • Checked antivirus exclusions (still investigating)

Would appreciate any guidance on improving performance.

Thanks!

0
1 comment

Hello, thanks for the detailed information and troubleshooting steps. There are known issues with this version when running in WSL, but not natively in windows. 

Providing more detailed diagnostic data to the support team will help to answer the remaining questions and pinpoint what is causing the performance issue. 
How to Enable Debug Logs and share with support:

  • Go to Help → Diagnostic Tools → Debug Log Settings…
  • In the dialog that appears, paste the following
    git4idea.commands.GitHandler
    time.git4idea
  • Click OK to save
  • Restart the IDE to apply the settings
  • Reproduce the issue after restarting
  • Share the IDE logs (Help > Collect Logs and Diagnostic Data) either via ticket (ZD or YT) or by uploading to: https://uploads.jetbrains.com. In the latter case it is required to share the uploaded file ID, so that support can download it.
     

 

0

Please sign in to leave a comment.