U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Core » Heap leak reported when using OpenCV in U++ Application.
Re: Heap leak reported when using OpenCV in U++ Application. [message #61954 is a reply to message #61953] Tue, 24 March 2026 10:26 Go to previous message
Oblivion is currently offline  Oblivion
Messages: 1273
Registered: August 2007
Senior Contributor
Hi,
* Without using OpenCV → no heap leak
* With a simple OpenCV `cv::Mat` → heap leak appears
* Even with larger code, the reported leak size remains the same
This is usually a signature of leak in the library (in this case OpenCV) itself.
It might be that you are not freeing what you've allocated before, or some probably a bug deep in the library itself.
If it is an OpenCV upstream issue which we can't fix, we use the functions to silence to leaks detector of U++. You can find them here.

Best regards,
Oblivion


 
Read Message
Read Message
Previous Topic: DragAndDrop doesn't work on Fedora 42
Next Topic: unsigned long / uint64 from Value type
Goto Forum:
  


Current Time: Fri Jul 31 06:47:19 GMT+2 2026

Total time taken to generate the page: 0.00504 seconds