Since the stack size per call is approximately 5 long variables, It appears that there will be a stack of about 5*8 and 40 bytes. I think the recursive call operates according to the number of inputs...
In that case, the stack is continuously created by 12345658. I think the stack will probably be maintained until all returns have been returned.
Then it is judged as if it exceeds 10MB.