PyCharm caches a great number of files, therefore the system cache may one day become overloaded. In certain situations the caches will never be needed again, for example, if you work with frequent short-term projects. Also, the only way to solve some conflicts is to clean out the cache.
Cleaning system caches also results in clearing the local history. To avoid losing data, check in the changes to your version control system before invalidating caches.
- On the main menu, choose Invalidate Caches message appears informing you that the caches have been invalidated and will be rebuilt on the next startup. To restart PyCharm, click Yes. . The
Cleaning out the system caches causes a complete rebuild of all the projects ever run in the current version of PyCharm.