I am sitting on a HUGE machine, with 8GB of rams 512MB of it is assigned as memory limit. I always get an out of memory error on one single line :
File: libraries/joomla/cache/storage/file.php
Line: 62
Code: Select all
function get($id, $group, $checkTime)
{
$data = false;
$path = $this->_getFilePath($id, $group);
$this->_setExpire($id, $group);
if (file_exists($path)) {
$data = file_get_contents($path);
if($data) {
// Remove the initial die() statement
$data = preg_replace('/^.*\n/', '', $data); // This is the line where the error occur
}
}
return $data;
}
Code: Select all
<?php die("Access Denied"); ?>
Am I wrong?
Thanks for your collaboration