Hello,
Without knowing what app are you running ( if it is RSDK or custom) and what RSDK is used, the only assumption I can make is that memory is allocated in SRAM but not properly deallocated so after a few iterations, the error occurs because there is no more available space in that chunk
As for documentation, apart from what is in the user manual, the source code is available for OAL. Other than that I'm not aware of other, more detailed documentation.
Best regards,
Peter