openMDAO对组件IO或部件有额外的内存限制吗?
我可以看到只使用了整个内存的12%,但仍然出现这样的错误。这是与python或openMDAO相关的帽子吗?
....
self.run_driver()
File "\Anaconda3\envs\py36_test\lib\site-packages\openmdao-2.3.1-py3.6.egg\openmdao\core\problem.py", line 494, in run_driver
self.final_setup()
File "\Anaconda3\envs\py36_test\lib\site-packages\openmdao-2.3.1-py3.6.egg\openmdao\core\problem.py", line 625, in final_setup
force_alloc_complex=self._force_alloc_complex)
File "\Anaconda3\envs\py36_test\lib\site-packages\openmdao-2.3.1-py3.6.egg\openmdao\core\system.py", line 786, in _final_setup
self._setup_partials(recurse=recurse)
File "\Anaconda3\envs\py36_test\lib\site-packages\openmdao-2.3.1-py3.6.egg\openmdao\core\group.py", line 1802, in _setup_partials
subsys._setup_partials(recurse)
File "\Anaconda3\envs\py36_test\lib\site-packages\openmdao-2.3.1-py3.6.egg\openmdao\core\group.py", line 1802, in _setup_partials
subsys._setup_partials(recurse)
File "\Anaconda3\envs\py36_test\lib\site-packages\openmdao-2.3.1-py3.6.egg\openmdao\core\explicitcomponent.py", line 68, in _setup_partials
super(ExplicitComponent, self)._setup_partials()
File "\Anaconda3\envs\py36_test\lib\site-packages\openmdao-2.3.1-py3.6.egg\openmdao\core\component.py", line 306, in _setup_partials
self._declare_partials(of, wrt, dependent=dependent, rows=rows, cols=cols, val=val)
File "\Anaconda3\envs\py36_test\lib\site-packages\openmdao-2.3.1-py3.6.egg\openmdao\core\component.py", line 894, in _declare_partials
meta['value'] = np.zeros(shape)
MemoryError
答案 0 :(得分:0)
没有足够的详细信息可以为这个问题提供一个很好的答案,但是当您遇到内存错误时,可能是因为您使用的是32位python?