In an error log file on my server are some errors of this kind :
- PHP Fatal error: Allowed memory size of 268435456 bytes exhausted
(tried to allocate 86 bytes) in ....(a php file, on line..) - PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 2 bytes) in ....(a php file, on line..)
For every error the recommended allocate bytes amount is lower than 100 bytes.
Does it mean that an increase of memory of only 100 bytes would solve every problem ?
How could I know what script is responsible for so much memory usage ?
My shop is built with Prestashop 1.5.6.2.
The full error message that I get is the following :
Allowed memory size of 268435456 bytes exhausted (tried to allocate 92 bytes) in ../classes/db/DbPDO.php on line 101
The line 101 is as follows :
return $result->fetch(PDO::FETCH_ASSOC);
This line is part of the following code :
public function nextRow($result = false)
{
if (!$result)
$result = $this->result;
return $result->fetch(PDO::FETCH_ASSOC);
}
I am not a developer and I thank you in advance for any help in this matter.
Patrick
I thank you in advance for any reply.
Patrick