Andrea Marco Sartori Profile picture
Software architect ๐Ÿ“ Open-source enthusiast ๐ŸŒˆ Sponsor: https://t.co/4fYf6ZlT0G ๐Ÿ’ž
May 22, 2021 โ€ข 11 tweets โ€ข 7 min read
When adding Octane to an existing @laravelphp app, spotting memory leaks can be quite tricky. ๐Ÿ”Ž

This thread lists some basic techniques that helped me out, hopefully it can be useful to other devs. ๐Ÿงต

#LaravelOctane #laravel #php @laravelphp During development, make sure to display/log memory usage peaks in all your pages/scripts.

If the peak keeps increasing esponentially at every refresh, there is a memory leak in the current page/script. ๐Ÿ˜