It is a .rv-file with many arrays and the error occured only when it was running under debugger.

In the meantime, I have reset all arrays to 0 when they are no longer in use, and reset others when the program starts. Now the error does not occur anymore.

I thought so far, that when close a program, the occupied memory is released. If not, why not and could this not be realized in the future?