Synchronizing files for a while after each git commit

Answered

Hi,

Recently PyCharm started getting really laggy when using git from within PyCharm.

In my properties I have the same git executable setup as I use in bash. Operations that take seconds in bash can take 30sec to 2min in PyCharm.

The most frustrating one is after every single commit I do from PyCharm, it will be "Synchronizing Files" for a long time. I just did a commit that was literally a 2 character change on a 75 lines.py file and it synchronized for 4 minutes. Earlier today I did a more considerable commit (merging a few branches and editing some changelog) and it syncronized files for over an hour! (Went for lunch, came back it was still running, went for a meeting, came back, it was done, not sure the exact time it took)

I'm not sure exactly what it does there, it used to be fast. Can anyone explain what happens during that step so that I can try to troubleshoot? Is it communicating with the git server (I use a local gitlab) or only work locally at that step?

2 comments
Comment actions Permalink

Ah, I should probably precise, I'm using:

PyCharm 2018.1.4 (Community Edition)
Build #PC-181.5087.37, built on May 24, 2018
JRE: 1.8.0_152-release-1136-b39 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 3.10.0-693.2.2.el7.x86_64

On a CentOS7 machine, with git 2.15.1

0
Comment actions Permalink

Hi
Could you update to 2019.1 and see if problem remains there?
If it's still laggy, report it to https://youtrack.jetbrains.com/issues/PY and attach your idea.log from Help | Show Log in...

0

Please sign in to leave a comment.