Borrar filtros
Borrar filtros

Out of memory problem using ODE solver

2 visualizaciones (últimos 30 días)
Hossein
Hossein el 18 de Feb. de 2016
Editada: Jan el 18 de Feb. de 2016
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 comentario
Torsten
Torsten el 18 de Feb. de 2016
Did you try whether a nonstiff solver really doesn't work ?
These solvers need much less memory.
Best wishes
Torsten.

Iniciar sesión para comentar.

Respuestas (1)

Jan
Jan el 18 de Feb. de 2016
Editada: Jan el 18 de Feb. de 2016
"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).

Categorías

Más información sobre Ordinary Differential Equations en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by