Out of memory problem using ODE solver
2 次查看(过去 30 天)
显示 更早的评论
Hi everyone,
I have the problem of out of memory in a time domain stiff simulation using ODE15s. What I have tried to solve the problem is the well-known discretizing the time range but doesn't work and I still face the problem. Any idea?
many thanks
1 个评论
Torsten
2016-2-18
Did you try whether a nonstiff solver really doesn't work ?
These solvers need much less memory.
Best wishes
Torsten.
回答(1 个)
Jan
2016-2-18
编辑:Jan
2016-2-18
"Out-of-memory" is treated in the same way every time:
- Install more RAM
- Free unused memory
- Increase the virtual memory
- Install even much more RAM
But in addition post the complete error message, most of all the line, which causes the error. Sometimes the memory is not the problem, but simply a type as: rand(1e6) instead of rand(1, 1e6).
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Ordinary Differential Equations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!