如何在 python 中节省内存?

问题描述 投票:0回答:0

我在做大量点的整合。我使用

scipy.integrate.odeint
进行了集成。我遇到了内存错误。

这是我收到的错误:

MemoryError: Unable to allocate 7.93 GiB for an array with shape (7, 151991622) and data type float64
python memory-management scipy
© www.soinside.com 2019 - 2024. All rights reserved.