django - 启动失败 [/bin/bash, --rcfile,/snap/pycharm-professional/127/plugins/terminal/jediterm-bash.in, -i]

标签 django linux python-3.x bash pycharm

我的 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/

相关文章:

django - 如何限制表单集中的字段选择?

linux - sed:如何替换多行模式中的所有内容?

Python问答游戏逻辑错误

python - 使用比率绘制 RGB 颜色

python-3.x - python/sqlachemy/ibmdb2 - sqlAlchemy 插入 Db2 for i,AS400?

django - 我们如何在 django 管理表单中添加动态 html5 数据属性

Django - 覆盖的表单 save() 方法返回 None?

django - 任何使用带有 Django 身份验证的 mongoengine 的人

linux - 如何使用一个命令创建文件夹并 cd 进入该文件夹

c++ - POSIX 相当于 boost::thread::hardware_concurrency