No video file can be larger than 4 GB on Anafi. It is a limitation that all small cameras normal suffer from. You collect the two pieces in your video editing program and you can't see that your shot has been in two or more pieces.
But if the problem is not the 4 GB limitation, you should describe in more detail what happens to get help.
That is just what I was going to suggest.
It happens to me, from time to time, that when I want to hit the "reset" button (rear left) that I hit the "stop/start recording" one at the rear right!
Having pressed the wrong button and not seeing the reset happen, I instinctively hit it again to check why it didn't "reset". That gives me a "stop recording" and then a "start recording" event seen later as a short break in the recording.