math-expert icon indicating copy to clipboard operation
math-expert copied to clipboard

Integration hangs

Open salastro opened this issue 3 years ago • 1 comments

Sometimes when integration is unsolvable (even by other more advanced calculators) it just halts.

Possible solutions are:

  • restricting the computational resources of the process
  • adding a timeout (e.g. of 10 seconds) for the process
  • creating an external watchdog for the management of the program flow

salastro avatar May 07 '22 09:05 salastro

For reference:

  • https://stackoverflow.com/questions/1359383/run-a-process-and-kill-it-if-it-doesnt-end-within-one-hour
  • https://stackoverflow.com/questions/14920384/stop-code-after-time-period

salastro avatar May 07 '22 09:05 salastro