首页 > 解决方案 > 启动失败 [/bin/bash, --rcfile, /snap/pycharm-professional/127/plugins/terminal/jediterm-bash.in, -i]

问题描述

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

标签: djangolinuxpython-3.xbashpycharm

解决方案


检查日志文件后,它提供了以下详细信息。我在我的主机 Windows 机器上运行了 Ubuntu。重新启动主机和来宾。解决了这个问题。让我想起了电影。摩天大楼与 Dwane Johnson

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.
#

推荐阅读