Group Abstract Group Abstract

Message Boards Message Boards

0
|
4.5K Views
|
0 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Prevent SystemException["MemoryAllocationFailure"] ?

Posted 6 years ago

I am running code that on occasion shows this message

"General: Overflow occurred in computation". It then proceedes to display "Further output of General::ovfl will be suppressed during this calculation."

and carries on, however on occasion it also displays this message

"SystemException["MemoryAllocationFailure"]" and aborts the calculation. There is a message displayed after this namely "Uncaught SystemException returned to top level. Can be caught with Catch[...._SystemException]".

I have tried implementing the Catch but it is unclear how it should be done and I have had no success, so, is there a method to preventing the program from stopping in the event of the memory allocationfailure message? I would be greatful of any pointers.

POSTED BY: Paul Cleary
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard