Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'NDsolve out of memory' topicStudent Support Forum > General > Archives > "NDsolve out of memory"

Help | Reply To Topic
Author Comment/Response
05/29/02 3:29pm

I am trying to evaluate the solutions of a system of differential equations using NDSolve. The system is composed by 7 equations. The amount of memory needed to solve it is tremendous, and for I would need to make different simulations starting from different initial conditions, I should run the NDSolve several times, but I run out of memory sometimes on the very first run. I can't even save the results to recall it later, for the same memory problem. I allocated 290 Mb of memory to the Mathkernel, so it seems to me that it should be enough. I just start the kernel and run the NDSolve command, not to have the memory used by storing different variables...
Does anybody have any suggestion? I'm going crazy...

Here below there is the definition of the problem. It seems huge, but if you copy the text and paste it into a notebook it is quite easy.
Thanks in advance

RowBox[{"sys3", "=",

RowBox[{\(18000\ \[Pi]\^2\ \((rCAy[t] - rCCy[t])\)\),
"-", \(10659.172753176506`\ \((\[Theta]xA[t] - \[Theta]xC[t])\)\),
RowBox[{"5", " ",
RowBox[{\(-0.0000729`\), " ",
RowBox[{\(0.0000729`\ rCAy[t]\), "+",
RowBox[{"2", " ", \(Cos[40\

URL: ,
Help | Reply To Topic