Is this a memory error?
Possibly. We cannot reproduce the error because your sheet is incomplete and won't run without the data.
One thing could help in this situation: You assign the variable DCR:= a long routine and you use an inline evaluation (the equal sign at the uper right of that region. Delet that equal sign and rather add DCR= after the assignement to show the result.