I have some long computations on my Mathematica notebook. For some reason they stop and Mathematica gives me no reason as to why. No warning. No erros.

If run the "Initialization Lines" (create variables, etc) and then each long calculation then, sometimes, I am able to perform them. But I cant run the notebook from top to bottom without stopping.

My RAM and CPU dont max out.

Thanks for the help!

  • 3
    $\begingroup$ I wonder how anyone could help. Your question is very general. Perhaps you should ask for tips on debugging to try to find where the problem is? $\endgroup$
    – Lou
    Aug 21 '20 at 18:44
  • $\begingroup$ If you go to the help menu and select "Why the beep?", does it tell you anything? $\endgroup$
    – Michael E2
    Aug 21 '20 at 19:18
  • $\begingroup$ Lou I know, but it is everything it shows me... I don't think the code is the issue because if I run each line separately is runs fine. @MichaelE2 ""The kernel Local has quit (exited) during the course of an evaluation" $\endgroup$ Aug 22 '20 at 9:14
  • 3
    $\begingroup$ Try placing a single Quit[] in the middle of the code. Run it. If it crashes with the above error, move the Quit[] half way in between the above chunk of code. Otherwise if it quits before the error is encountered, then move the Quit[] to the midpoint of the remaining code. Keep proceeding this way (binary chop) until you narrow down the first line where the error occurs before a quit. Post this line when you find it. $\endgroup$
    – flinty
    Aug 22 '20 at 13:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.