@jetbrains Why is the default xmx set to 750 mbyte in @pycharm (even in the x64 version). I've hit 2 gbyte easily when indexing. In 2018 no (developer) machine should run out of memory.
Each environment is different and for the best result individual .vmoptions tuning is required: https://intellij-support.jetbrains.com/hc/en-us/articles/206544869-Configuring-JVM-options-and-platform-properties …. The larger heap you have, the more time GC would take, so there are drawbacks in using too large heap size.