Re: [go-nuts] cgo memory fragmetation?

2019-10-07 Thread miha . vrhovnik
It's not that. The system had 4G of memory initially as it is supposed to be enough for 18 processors (They should max out at around 250M but have the typical of about 100M) and it started swapping heavily. (I then raised the limits to 16G) so things can continue to run. BR, Miha On Monday,

Re: [go-nuts] cgo memory fragmetation?

2019-10-07 Thread Ian Lance Taylor
On Mon, Oct 7, 2019 at 12:54 AM wrote: > > We are having a very weird problem, where the process memory keeps rising, > but both the pprof and valgrind report no memory leaks. But the RSS just > keeps rising.The C part is in external so library In the absence of other memory pressure on the

Re: [go-nuts] cgo memory fragmetation?

2019-10-07 Thread miha . vrhovnik
This doesn't seem to help... gc 589 @171.013s 0%: 0.012+0.69+0.17 ms clock, 0.41+0.079/2.9/1.6+5.5 ms cpu, 6->6->5 MB, 7 MB goal, 32 P scvg: 0 MB released scvg: inuse: 7, idle: 54, sys: 61, released: 54, consumed: 7 (MB) scvg: inuse: 7, idle: 54, sys: 61, released: 54, consumed: 7 (MB) scvg:

Re: [go-nuts] cgo memory fragmetation?

2019-10-07 Thread Jamil Djadala
On Mon, 7 Oct 2019 00:54:32 -0700 (PDT) miha.vrhov...@gmail.com wrote: > Hi guys, > > We are having a very weird problem, where the process memory keeps > rising, but both the pprof and valgrind report no memory leaks. But > the RSS just keeps rising.The C part is in external so library > > To