Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Dive into the intricacies of PHP memory management with this highly technical conference talk from PHP UK Conference 2013. Explore the inner workings of memory in PHP, starting with a refresher on hardware and software memory concepts. Discover the Zend Memory Manager, PHP's main memory component, and learn how to monitor and optimize memory usage in your everyday scripts. Gain valuable insights into PHP variables, memory monitoring techniques, and practical strategies to address the dreaded "Fatal error: Allowed memory size exhausted" message. Enhance your understanding of PHP's memory architecture and improve your coding efficiency through clear explanations and illustrative schemas.
Syllabus
Intro
What we'll cover together
Memory from hardware
Memory from software
Linux memory monitoring
Why a custom layer ?
Zend MM test script
Zend MM launch test
A quick word on ZendMM internals
ZendMM memory monitoring
PHP Variables
Monitoring memory usage
Thank you for listening
Taught by
PHP UK Conference