>From the trace (4->4->0) it looks like the app is allocating about 4MB
every 10ms. The app also has little (0 rounded) reachable data, sometimes
called heap ballast. Since there is little ballast the GC is attempting to
keep the heap from growing beyond 5MB. The GC is using about 2% of the CPU
resources to do its job.
All of this seems perfectly reasonable from the GC's perspective.
On Tuesday, October 18, 2016 at 12:32:47 AM UTC-4, Jiří Šimša wrote:
> go version go1.7.1 darwin/amd64
> Jiří Šimša
> On Mon, Oct 17, 2016 at 8:02 PM, Ian Lance Taylor <ia...@golang.org
>> > The backend of my web server (written in Go) have recently started
>> > large amounts of CPU. AFAICT, the CPU seems to be consumed by the
>> > collector and I would appreciate any information that would help me
>> > down the root cause.
>> What version of Go? What platform?
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.