In general, it is not possible to recover due to a memory error. At this point, the heap is most likely damaged. The appropriate response is to terminate the process.
DynArraySetLength System. . DynArraySetLength - , a , . DynArraySetLength, . , . , .
, DynArraySetLength , . . - , . , .