ShadowPlay has a maximum recording time limit called 'Shadow Time.' By default, it is set to five minutes. However, you can adjust this duration in the NVIDIA GeForce Experience application's Settings menu under the 'Privacy Control' tab. You can set it as high as 4 hours or unlimited recording time.