django - 启动失败 [/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.
解决方案
检查日志文件后,它提供了以下详细信息。我在我的主机 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.
#
推荐阅读
- apache-spark - Apache Spark:我如何理解和控制我的查询是在 Hive 引擎还是 Spark 引擎上执行的?
- python-3.x - Bot Radio Looping Audio discord py discord bot
- wso2 - 在 WSO2 Api Manager(脚本中介)的 mc.setPayloadXML 中传递 CDATA 标记
- .net - Async.Start 是否保证完成?
- assembly - aarch64 是否有不可缓存(=cache-bypass)加载或存储指令?
- django - Django Channels - 将用户标记为在线和离线
- vue.js - AWS vuejs Amplify - 无法拉取后端
- flutter - Flutter 构建发布 apk 没有健全的 null 安全性?
- reactjs - 如何从 Formik 输入值向表中添加新行?
- java - 从 google 获取超过 1000 个索引链接