Iām currently working on a video processing web app but it crashes inconsistently.
I suspect itās a memory issue but I havenāt been able to find any memory leaks. When I track the memory using psutil.virtual_memory(), it never reaches 100% but the app still crashes. Itās also very inconsistent, sometimes crashing around frame 90, but also sometimes being able to process the same exact video in its entirety without issue. Iām wondering if you guys have access to anything behind the scenes that might help me narrow down the reason for these crashes.
Steps to Reproduce:
-
Upload Summer Nationals Clip.mp4 (attached)
-
Wait for āFile Processedā to appear
-
Navigate to āLive Streamā through the sidebar
-
Wait
Github Code: GitHub - BANANAPEEL202/FencingWebApp
App: https://bananapeel202-fencingwebapp-upload-xnj04o.streamlitapp.com/ (may have already crashed and require a reboot)
Test Video: Summer Nationals Clip.mp4 - Google Drive