imagick
imagick copied to clipboard
memory leaking
Hi Justin,
I have an issue with a long running process, the process have consume almost 50Gb of Ram, but the go runtime says it was using 5Mb only.
So I have extract the code in a small demo, https://github.com/tophe/imgdemo, if you try it, you can see that the system memory grow ever and ever when you used the resize handler. (try to run "ruby test.rb" and look via "ps afux| grep -v grep | grep imgd"), the goruntime don't see that memory usage.
I have remarked the CoalesceImages(), because it is very slow, it use even more memory and usualy it crash the go vm after some hits.
is it a go code probleme, I use Destroy() in the resize method, or is it a bug in the binding?
thank you for your help