我的 Pycharm 突然工作得很好,我看到了下面的错误消息。我有pycharm专业版
关于如何解决这个问题的任何建议
Cannot open Local Terminal
Failed to start [/bin/bash, --rcfile, /snap/pycharm-professional/127/plugins/terminal/jediterm-bash.in, -i] in /home/path-to-my-project
See your idea.log (Help | Show Log in Files) for the details.
最佳答案
检查日志文件后,它提供了以下详细信息。我在主机 Windows 机器上运行了 Ubuntu。重新启动主机和 guest 。解决了这个问题。让我想起了电影。摩天大楼与道恩强森
There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 138412032 bytes for committing reserved memory.
# Possible reasons:
# The system is out of physical RAM or swap space
# The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap
# Possible solutions:
# Reduce memory load on the system
# Increase physical memory or swap space
# Check if swap backing store is full
# Decrease Java heap size (-Xmx/-Xms)
# Decrease number of Java threads
# Decrease Java thread stack sizes (-Xss)
# Set larger code cache with -XX:ReservedCodeCacheSize=
# This output file may be truncated or incomplete.
#
关于django - 启动失败 [/bin/bash, --rcfile,/snap/pycharm-professional/127/plugins/terminal/jediterm-bash.in, -i],我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55682138/