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 am calculating VMAF scores every 30 frames, using the CUDA-accelerated version of VMAF. Currently, the computed VMAF values are accurate each time; however, there is a significant and rapid increase in GPU memory usage. I'm wondering if there might be an issue with proper resource deallocation.
My code is based on the example found in libvmaf/test directory, specifically the test_cuda_picture_preallocation_method_device test case, where I ensure that I initialize (init) and close (close) the VMAF context appropriately for every 30 frames. Despite this, the GPU memory keeps rising steadily.
Could there be a problem with how resources are being released, or are there any suggestions to address this potential memory leak issue?
The text was updated successfully, but these errors were encountered:
The VmafPictures are reference-counted and should be automatically freed when the ref count drops to zero. The framework should take care of when using the preallocation method. Curious if you were able to solve this issue or are still dealing with it?
The VmafPictures are reference-counted and should be automatically freed when the ref count drops to zero. The framework should take care of when using the preallocation method. Curious if you were able to solve this issue or are still dealing with it?
The issue has not been resolved; I encountered this problem with other methods involving preallocation as well. Ultimately, I switched to a non-preallocating approach using vmaf_picture_alloc, and the functionality without preallocation works as expected.
I am calculating VMAF scores every 30 frames, using the CUDA-accelerated version of VMAF. Currently, the computed VMAF values are accurate each time; however, there is a significant and rapid increase in GPU memory usage. I'm wondering if there might be an issue with proper resource deallocation.
My code is based on the example found in libvmaf/test directory, specifically the test_cuda_picture_preallocation_method_device test case, where I ensure that I initialize (init) and close (close) the VMAF context appropriately for every 30 frames. Despite this, the GPU memory keeps rising steadily.
Could there be a problem with how resources are being released, or are there any suggestions to address this potential memory leak issue?
The text was updated successfully, but these errors were encountered: