python - spyder.ini 中是否有调整内存最大值的选项?
问题描述
在某些程序中,我可以在.ini
.
例如在 knime 中:
-vm
plugins/org.knime.binary.jre.win32.x86_64_1.8.0.152-01/jre/bin
-startup
plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.551.v20171108-1834
--launcher.defaultAction
openFile
-vmargs
-server
-Dsun.java2d.d3d=false
...
-Xmx16384m
我可以用 调整它Xmx16384m
,所以在这个例子中大约有 16GB 的 RAM。
这也适用于spyder吗?不知何故,它只使用了大约 2GB 的 RAM,这非常低。
icon_theme = spyder 3
opengl = software
single_instance = True
open_files_port = 21128
tear_off_menus = False
normal_screen_resolution = True
high_dpi_scaling = False
high_dpi_custom_scale_factor = False
high_dpi_custom_scale_factors = 1.5
vertical_dockwidget_titlebars = False
vertical_tabs = False
animated_docks = True
prompt_on_exit = False
panes_locked = True
window/size = (1920, 1018)
window/position = (-8, -8)
window/is_maximized = True
window/is_fullscreen = False
window/prefs_dialog_size = (745, 411)
show_status_bar = True
memory_usage/enable = True
memory_usage/timeout = 2000
cpu_usage/enable = False
cpu_usage/timeout = 2000
use_custom_margin = True
custom_margin = 0
use_custom_cursor_blinking = False
show_internal_errors = True
check_updates_on_startup = True
toolbars_visible = True
解决方案
(这里的 Spyder 维护者)在 Spyder 中没有这样的选择,我不知道在 Python 中是否有可能,抱歉。
推荐阅读
- spring-boot - 无法在 tcp://xxx.xxx.xx.xxx:2375 连接到 Docker 守护程序。docker 守护进程是否正在运行?
- python - Python 错误不可散列类型:带有熊猫 iloc 的“列表”
- c++ - 媒体基础:使用 Direct3D 11 的自定义拓扑
- javascript - 当文本区域中存在文本时更改表单提交按钮的(样式) - Jade / Pug
- java - 用普通文本字体替换字符串
- java - 无法@Mock Autowired 对象
- git - 如何更新本地存储库
- python - CSS 选择器不遵循 bs4 的 ':nth-child' 逻辑
- postgresql - 如何在 postgresql 中插入和选择图像
- python - Python:多行文本文件读取为单行