Andrea Marco Sartori Profile picture
๐Ÿ‡ฎ๐Ÿ‡น Italian in Australia ๐Ÿ‡ฆ๐Ÿ‡บ ๐Ÿ–ฅ๏ธ web developer | amateur athlete ๐Ÿƒ๐Ÿฝโ€โ™‚๏ธ
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. ๐Ÿ˜