6,512 views
0:00 Cool BeerPHP editing 0:20 Katyusha greeting 1:15 RFC: new without parentheses 2:00 Install RoadRunner tonight! 3:08 What is a memory leak? 4:04 Why is it hard to find and prevent leaks? 5:19 Don't interfere with PHP cleaning! 7:15 Decompose your code! 9:17 Don't loop objects! 14:50 How to test? 16:24 Use static closures! 18:10 Read line by line! 20:16 Read from DB via cursor! 23:48 Write to DB efficiently! 29:23 Memoization and preemption 34:05 LRU 36:29 If you don't preempt, clean! 39:17 Tools 43:12 Useful links 45:24 How often have I encountered leaks in my life? 47:52 Is there a universal way to understand that memory has leaked? 52:00 The history of my RFC 1:00:39 How a cursor works in a database 1:02:05 About a band's concert, worries about RFCs, and a favorite PHP stack Slides: https://vudaltsov.github.io/memory-le... Subscribe to our channels in Telegram: • Pykh https://t.me/phpyh, • PHP Digest https://t.me/phpdigest, • Is PHP dying?! https://t.me/isPHPdying