PHP array memory usage too much problem solution PHP array memory usage is only 110. An array of MB memory in C language requires 1 GB in PHP. Especially in the system where PHP is used as the backend server, the memory consumption is too high. In this case, the memory usage of the PHP array is only 1/10. An array of 100 MB memory in C language requires 1 GB in PHP. Especially in the system where PHP is used as the backend server, the memory consumption is too high. Is there any solution to this problem?
Reply content:
PHP array memory usage too much problem solution PHP array memory usage is only 1/10. An array of 100 MB memory in C language requires 1 GB in PHP. Especially in the system where PHP is used as the backend server, the memory consumption is too high. Is there any solution to this problem?
Hand over heavy data processing tasks to other languages.
I saved 5000 arrays and reported a memory error.