Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

9
  • 2
    $\begingroup$ Have you tried setting $HistoryLength to something other than Infinity (the default)? $\endgroup$ Commented May 2, 2013 at 14:47
  • $\begingroup$ I have had that problem twice. The kernal stops when you run out of swap file space, so you might get it done by increasing the swap file. If this is something to be done often, you will need a better algorithm. $\endgroup$ Commented May 2, 2013 at 15:06
  • $\begingroup$ @Sosi, you could use ParametricNDSolve. As pointed out above try $HistoryLength=0 $\endgroup$ Commented May 2, 2013 at 15:23
  • $\begingroup$ @bills - I've never heard of that. I'll look into it! @FredKline - sorry to ask, but how do you do that? @ruebenko - I'll check ParametricNDSolve. I think I've used it before. $\endgroup$ Commented May 2, 2013 at 15:47
  • $\begingroup$ Ok, I set $HistoryLength=0 but Mathematica still steals all memory. Using ParametricNDSolve made the computations faster though, but I then have to export the output, quit the kernel, import, and only then I can actually do something in mathematica $\endgroup$ Commented May 3, 2013 at 15:02