首页 > 解决方案 > 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

标签: pythoneclipsespyder

解决方案


这里的 Spyder 维护者)在 Spyder 中没有这样的选择,我不知道在 Python 中是否有可能,抱歉。


推荐阅读