~/talk

Hunting down memory leaks with PHP Meminfo

Talkat phpDay 2019 · 2019-05-10..05-11· [php, observability]
slides:none on file

Shows how PHP Meminfo extension and profilers like Blackfire.io or Memprof reveal concrete causes: dumps that list class instance counts and object relations expose thousands of retained objects and cyclic references. Demonstrates reading JSON-like dumps, tracing a reference chain from an array entry or class member to the leaking object, and fixing it by breaking references or using weak references. Measures show increased GC CPU and degraded throughput when leaks accumulate across long‑running processes.

AI-written summary · about

  1. 0:00Memory management in PHP
  2. 3:14Memory leaks in PHP
  3. 6:28Circular references impact
  4. 9:18PHP garbage collector
  5. 12:10Detecting leaks with tools
  6. 14:21Solving memory leaks
  7. 17:18Analyzing leaks with Meminfo
  8. 20:11Best practices to avoid leaks
  9. 21:55Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.