You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use decord to read video frames in a Fastapi view. There is no memory leak on Windows when debuging in pycharm, but leak on Linux when start python script directly. Memory only raise when requeset the api, without any signs of decreasing.
To debug memory leak, I call reader.del() after read frames. It works on Windows but meets Segmentation fault on Linux.
Finally, I use numpy.zeros() creating frames to replace decord reading frames, there is no memory leak.
Someone help me please.
The text was updated successfully, but these errors were encountered:
Read frame codes:
I use decord to read video frames in a Fastapi view. There is no memory leak on Windows when debuging in pycharm, but leak on Linux when start python script directly. Memory only raise when requeset the api, without any signs of decreasing.
To debug memory leak, I call reader.del() after read frames. It works on Windows but meets Segmentation fault on Linux.
Finally, I use numpy.zeros() creating frames to replace decord reading frames, there is no memory leak.
Someone help me please.
The text was updated successfully, but these errors were encountered: