Re: [go-nuts] Huge system RSS memory usage

2017-05-15 Thread miha . dimec
Hi I am back with update. There is most certainly was memory leak connected with openCv. I don't know where is the problem yet. I can confirm this, because I have run test while mocking openCv out, there were no leaks of the type that was desbribed before. RSS was constant. Except there was one

Re: [go-nuts] Huge system RSS memory usage

2017-05-05 Thread Justin Israel
I also have done an image processing server in the past and used two different image library cgo bindings. Each one has its own specific way it manages the C memory and you can leak of you don't observe them. I am not familiar with the OpenCV binging though. Are you leaking any goroutines? How ext

[go-nuts] Huge system RSS memory usage

2017-05-05 Thread miha . dimec
Hi 1. System Ubuntu 16.04.1 LTS \n \l Linux G-00017 4.4.0-57-generic #78-Ubuntu SMP Fri Dec 9 23:50:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux