I figured it. My exec.Command's were leaving a bunch of zombie processes. 
Had to do cmd.Wait() on them to exit cleanly.

On Thursday, June 1, 2017 at 9:25:51 PM UTC-7, Dmitry Mishin wrote:
>
> I have the same impression...
>
> Added a 300 msec sleep before each folder read task. Will see how it goes, 
> maybe that will let the OS recover whatever resources it's missing...
>
> Thanks for your help!
>
> On Thursday, June 1, 2017 at 8:09:14 PM UTC-7, Dave Cheney wrote:
>>
>> Imo this is not a problem with the amount of memory in use inside you go 
>> program, but Linux's incorrect accounting.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to