OpenVX-sample-impl icon indicating copy to clipboard operation
OpenVX-sample-impl copied to clipboard

Scoped Virtual VxDataObjects are not released at time of scope release

Open nashez opened this issue 3 years ago • 0 comments

In case of a virtual object, the scope for it is being updated correctly. But at the time of destruction/release of the scoped object, the VxDataObjects tied to it are not deleted. For example, if a virtual vx_tensor is tied to a graph, then upon calling the vxReleaseGraph, the vx_tensor is not released. Same is the case for virtual vx_image objects as well. This is causing my application to run out of memory, since my application creates multiple vx_tensors and vxProcessGraph call in a loop, even though I call vxReleaseGraph everytime in the loop.

nashez avatar Nov 18 '22 10:11 nashez