~/talk

How to Surround Yourself with Garbage and Lose Memory

TalkinRussianat Let's GoConf 2025 · on Friday, 2025-09-12· [go, web-performance]
links:none on file
slides:none on file

A practical look at Go garbage collection and memory allocation: where Go allocates objects, how the garbage collector identifies unused memory, and which coding patterns and data types can confuse the collector and hinder efficient reclamation. The talk explains how certain usages create conditions for memory leaks and how to avoid introducing accidental retention of objects.

AI-written summary · about

  1. 0:00Introduction
  2. 3:17Stack and heap basics
  3. 11:24Escape analysis in Go
  4. 14:53Stack vs heap examples
  5. 15:18Garbage collector overview
  6. 17:29What is memory leak
  7. 18:34Leaks in channels
  8. 21:26Slice memory issues
  9. 27:31Fixing slice leaks
  10. 28:14Map memory consumption
  11. 35:41Go 1.24 map changes
  12. 37:04Memory fragmentation
  13. 41:59Optimization pitfalls
  14. 42:19Efficient Go code tips
  15. 43:21Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.