I recently started diving into GC work in Golang and in one article on the Go Wiki I found a formula for counting target heap memory size (here you can find it)
Target heap memory = Live heap + (Live heap + GC roots) * GOGC / 100
My question is what Live heap +
part forgot here because based on the description of the formula it is not needed here
PS
I apologize in advance if I have asked a stupid question, but I really can’t figure out 🙂
New contributor
Alexandr Rutkowski is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.