Having the video-clip-time-setting set to "X" instead of 5 or 10 minutes will cause it do this when the memory card reaches it's capacity.