Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 171578752 bytes) in /home/httpd/vhosts/lxmedia.tk/lxmedia.ch/portfolio/app/vendor/symfony/cache/Marshaller/DefaultMarshaller.php on line 47
if (null === $useIgbinarySerialize) {
$useIgbinarySerialize = \extension_loaded('igbinary') && (\PHP_VERSION_ID < 70400 || version_compare('3.1.6', phpversion('igbinary'), '<='));
} elseif ($useIgbinarySerialize && (!\extension_loaded('igbinary') || (\PHP_VERSION_ID >= 70400 && version_compare('3.1.6', phpversion('igbinary'), '>')))) {
throw new CacheException(\extension_loaded('igbinary') && \PHP_VERSION_ID >= 70400 ? 'Please upgrade the "igbinary" PHP extension to v3.1.6 or higher.' : 'The "igbinary" PHP extension is not loaded.');
}
$this->useIgbinarySerialize = $useIgbinarySerialize;
$this->throwOnSerializationFailure = $throwOnSerializationFailure;
}
/**
* {@inheritdoc}
*/
public function marshall(array $values, ?array &$failed): array
{
$serialized = $failed = [];
foreach ($values as $id => $value) {
try {
if ($this->useIgbinarySerialize) {
$serialized[$id] = igbinary_serialize($value);
} else {
$serialized[$id] = serialize($value);
}
} catch (\Exception $e) {
if ($this->throwOnSerializationFailure) {
throw new \ValueError($e->getMessage(), 0, $e);
}
$failed[] = $id;
}
}
return $serialized;
}
/**
* {@inheritdoc}
*/
public function unmarshall(string $value)
{
if ('b:0;' === $value) {
"Allowed memory size of 536870912 bytes exhausted (tried to allocate 171578752 bytes)"
*
* @return void
*/
public function handleShutdown()
{
// If we reached this step, we are in shutdown handler.
// An exception thrown in a shutdown handler will not be propagated
// to the exception handler. Pass that information along.
$this->canThrowExceptions = false;
$error = $this->system->getLastError();
if ($error && Misc::isLevelFatal($error['type'])) {
// If there was a fatal error,
// it was not handled in handleError yet.
$this->allowQuit = false;
$this->handleError(
$error['type'],
$error['message'],
$error['file'],
$error['line']
);
}
}
/**
* @param Throwable $exception
*
* @return Inspector
*/
private function getInspector($exception)
{
return new Inspector($exception);
}
/**
* Resolves the giving handler.
*
* @param callable|HandlerInterface $handler
*
* @return HandlerInterface
1
"Allowed memory size of 536870912 bytes exhausted (tried to allocate 171578752 bytes)"
"/home/httpd/vhosts/lxmedia.tk/lxmedia.ch/portfolio/app/vendor/symfony/cache/Marshaller/DefaultMarshaller.php"
47
Key | Value |
zip | "."
|
Key | Value |
PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
|
PP_CUSTOM_PHP_INI | "/home/httpd/vhosts/system/lxmedia.ch/etc/php.ini"
|
PP_CUSTOM_PHP_CGI_INDEX | "fastcgi"
|
SCRIPT_NAME | "/portfolio/index.php"
|
REQUEST_URI | "/portfolio/?zip=."
|
QUERY_STRING | "zip=."
|
REQUEST_METHOD | "GET"
|
SERVER_PROTOCOL | "HTTP/1.0"
|
GATEWAY_INTERFACE | "CGI/1.1"
|
REMOTE_PORT | "2368"
|
SCRIPT_FILENAME | "/home/httpd/vhosts/lxmedia.tk/lxmedia.ch/portfolio/index.php"
|
SERVER_ADMIN | "root@localhost"
|
CONTEXT_DOCUMENT_ROOT | "/home/httpd/vhosts/lxmedia.tk/lxmedia.ch"
|
CONTEXT_PREFIX | "" |
REQUEST_SCHEME | "https"
|
DOCUMENT_ROOT | "/home/httpd/vhosts/lxmedia.tk/lxmedia.ch"
|
REMOTE_ADDR | "108.162.216.219"
|
SERVER_PORT | "443"
|
SERVER_ADDR | "80.74.145.160"
|
SERVER_NAME | "www.lxmedia.ch"
|
SERVER_SOFTWARE | "Apache"
|
SERVER_SIGNATURE | "" |
HTTP_CF_EW_VIA | "15"
|
HTTP_CDN_LOOP | "cloudflare; loops=1; subreqs=1"
|
HTTP_CF_VISITOR | "{"scheme":"https"}"
|
HTTP_ACCEPT | "*/*"
|
HTTP_X_FORWARDED_PROTO | "https"
|
HTTP_REFERER | "https://lxmedia.ch/portfolio/?zip=."
|
HTTP_ACCEPT_ENCODING | "gzip"
|
HTTP_USER_AGENT | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
|
HTTP_CF_IPCOUNTRY | "US"
|
HTTP_CF_CONNECTING_IP | "3.147.42.3"
|
HTTP_CF_RAY | "9202f92580e9eb64-ORD"
|
HTTP_CONNECTION | "close"
|
HTTP_X_ACCEL_INTERNAL | "/internal-nginx-static-location"
|
HTTP_X_FORWARDED_FOR | "3.147.42.3,3.147.42.3"
|
HTTP_X_REAL_IP | "108.162.216.219"
|
HTTP_HOST | "www.lxmedia.ch"
|
HTTPS | "on"
|
HTTP_AUTHORIZATION | "" |
PERL5LIB | "/usr/share/awstats/lib:/usr/share/awstats/plugins"
|
SCRIPT_URI | "https://www.lxmedia.ch/portfolio/"
|
SCRIPT_URL | "/portfolio/"
|
UNIQUE_ID | "Z9QAPsp9Sz4alqrEioXREAAAAC4"
|
FCGI_ROLE | "RESPONDER"
|
PHP_SELF | "/portfolio/index.php"
|
REQUEST_TIME_FLOAT | 1741946942.5814
|
REQUEST_TIME | 1741946942
|
APP_DEBUG | "false"
|
APP_LANGUAGE | "en"
|
DISPLAY_READMES | "false"
|
READMES_FIRST | "false"
|
ZIP_DOWNLOADS | "true"
|
GOOGLE_ANALYTICS_ID | "false"
|
MATOMO_ANALYTICS_URL | "false"
|
MATOMO_ANALYTICS_ID | "false"
|
SORT_ORDER | "type"
|
REVERSE_SORT | "false"
|
Key | Value |
APP_DEBUG | "false"
|
APP_LANGUAGE | "en"
|
DISPLAY_READMES | "false"
|
READMES_FIRST | "false"
|
ZIP_DOWNLOADS | "true"
|
GOOGLE_ANALYTICS_ID | "false"
|
MATOMO_ANALYTICS_URL | "false"
|
MATOMO_ANALYTICS_ID | "false"
|
SORT_ORDER | "type"
|
REVERSE_SORT | "false"
|