What are the specifics of "allocated" in a PHP out of memory error -


note: there number of questions dealing "out of memory" error message, haven't seen answer specifics of "allocated" definition.

in stat, have know being measured. "allocated" measure specifically?

my client's hosting package supposedly has 256mb of php memory, based on php.ini setting. webhost allow 256mb.

example: fatal error: out of memory (allocated 118489088) (tried allocate 64 bytes) in /htdocs/www/wp-content/plugins/all-in-one-event-calendar/vendor/lessphp/lessc.inc.php on line 293

does allocated mean memory php functions or particular process throwing error?

the comment php being 1 process helpful in finding answer question. confusing issue each new process load should have own memory space. turns out php has memory manager within allocates memory individual processes on site. memory available php amount php memory manager has work with.

http://php.net/manual/en/internals2.memory.php


Comments

Popular posts from this blog

sql server - Cannot query correctly (MSSQL - PHP - JSON) -

php - trouble displaying mysqli database results in correct order -

C++ Linked List -