_Cfunc_GoBytes taking lot of memory and not releasing it. Go profiler screenshot
##### System information (version) * OpenCV => 4 * GoCV => 0.18.0 * Operating System / Platform => Raspberry Pi * Compiler => GCC
Detailed description
- Installed the OpenCV and GoCV from the source. After I ran the IMEncode to convert a gocv.Mat type to []byte. Over the time the Go Profiling result shows increasing in alloc_space.
Steps to reproduce
- Create Go Routine
- Calls a method accepts a gocv.Mat type and converts Mat to byte
- Do that for 5-10 min and same time run the profiler.
- Below is a screen shot from the go profiler
show your code, please. (most likely you forgot to
Close()
some Mat's there ;)(and your profiler screenshot is quite useless here)