PHP 8.4.24 Released!

Voting

: nine minus three?
(Example: nine)

The Note You're Voting On

renatonascto at gmail dot com
17 years ago
Big arrays use a lot of memory possibly resulting in memory limit errors. You can reduce memory usage on your script by destroying them as soon as you´re done with them. I was able to get over a few megabytes of memory by simply destroying some variables I didn´t use anymore. 
You can view the memory usage/gain by using the funcion memory_get_usage(). Hope this helps!

<< Back to user notes page

To Top