Код: Выделить всё
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 27209391 bytes) in C:\_majordomo\htdocs\lib\mysqli.class.php on line 381
16:58:53 running cycle_watchfolders.php
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 27210563 bytes) in C:\_majordomo\htdocs\lib\mysqli.class.php on line 381
16:59:39 running cycle_watchfolders.php
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 27211347 bytes) in C:\_majordomo\htdocs\lib\mysqli.class.php on line 381
17:00:35 running cycle_watchfolders.php
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 27212519 bytes) in C:\_majordomo\htdocs\lib\mysqli.class.php on line 381
17:01:41 running cycle_watchfolders.php
17:05:16 running cycle_watchfolders.php
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 27218767 bytes) in C:\_majordomo\htdocs\lib\mysqli.class.php on line 381
17:08:55 running cycle_watchfolders.php
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 27221111 bytes) in C:\_majordomo\htdocs\lib\mysqli.class.php on line 381
17:09:59 running cycle_watchfolders.php
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 27222283 bytes) in C:\_majordomo\htdocs\lib\mysqli.class.php on line 381
17:10:52 running cycle_watchfolders.php
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 27223455 bytes) in C:\_majordomo\htdocs\lib\mysqli.class.php on line 381
17:11:42 running cycle_watchfolders.php
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 27224627 bytes) in C:\_majordomo\htdocs\lib\mysqli.class.php on line 381
mysqli.class.php on line 381 - это
Код: Выделить всё
/**
* Used to strip "bad" symbols from sql query results
* @param mixed $str string to make "safe"
* @access public
* @return string
*/
public function DbSafe1($str)
{
if (is_array($str)) {
$str=json_encode($str);
}
$str = mysqli_real_escape_string($this->dbh, (string)$str); //<----- 381 line
return $str;
}
Код: Выделить всё
; Maximum amount of memory a script may consume (128MB)
; http://php.net/memory-limit
memory_limit = -1