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
- Are my VM options optimal for a 16 GB RAM machine?
- Is there any recommended tuning for Git performance in IntelliJ IDEA 2025?
- Are there known issues with Git integration in this version?
- Would disabling certain plugins/features help?
- 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!
Please sign in to leave a 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:
git4idea.commands.GitHandlertime.git4idea