Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: removed unnecessary and broken memory settings updates

...

  • "Update method:" should be "Branch default"
  • "Auto-update if push of the current branch was rejected" should be unchecked

General Tips

Increase the memory available to PyCharm

The default memory allocated to PyCharm's Java JDK is too small for edx-platform, so you should update it:

...

Tip

The simplest way to create this is from the Help menu choose "Edit Custom VM Options..

  1. If you do not see this file, copy it from /Applications/PyCharm.app/Contents/bin/ using the terminal command:  cp /Applications/PyCharm.app/Contents/bin/pycharm.vmoptions ~/Library/Preferences/PyCharm2018.1/

Increase the -Xms and -Xmx settings, e.g. something like the following:

No Format
-Xms512m
-Xmx2048m
-XX:MaxPermSize=350m
-XX:ReservedCodeCacheSize=240m
-XX:+UseCompressedOops
-agentlib:yjpagent=delay=10000

...

Restart PyCharm

Note

~/Library/Preferences are hidden folders and so you might have to enable Hidden Folders view to be able to see this folder structure.

Autoscroll to Source files in Navigator

...