Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 11014144 bytes) in /app/vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php on line 331

Warning: session_id(): Session ID cannot be changed after headers have already been sent (sent from /app/vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php on line 331) in /app/vendor/symfony/http-foundation/Session/Storage/Proxy/AbstractProxy.php on line 74
Error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 11014144 bytes) (500 Internal Server Error)

OutOfMemoryError

Error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 11014144 bytes)

HTTP 500 Internal Server Error

Stack Trace

$data = stream_get_contents($h);
flock($h, \LOCK_UN);
fclose($h);
if (\function_exists('gzdecode')) {
$data = @gzdecode($data) ?: $data;
}
if (!$data = unserialize($data, ['allowed_classes' => true])) {
return null;
}
Exception properties 1
error
array:4 [
  "type" => 1
  "message" => "Allowed memory size of 2147483648 bytes exhausted (tried to allocate 11014144 bytes)"
  "file" => "/app/vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php"
  "line" => 331
]

Logs 1

Time
Message
{
    "route": "_profiler",
    "route_parameters": {
        "_route": "_profiler",
        "_controller": "web_profiler.controller.profiler::panelAction",
        "token": "0835fb"
    },
    "request_uri": "https://esya.ru/_profiler/0835fb?panel=router&type=request",
    "method": "GET"
}
00:26:32 DEBUG doctrine Beginning transaction
{
    "sql": "INSERT INTO stat (owner_cookie, ip, google_id, yandex_id, microsoft_id, path, query, referer, user_agent, utm_source, utm_medium, utm_term, user_role, method, user_id, created_at, owner_id, owner_unlogined_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)",
    "params": {
        "1": "bsd2851866964",
        "2": "216.73.216.24",
        "3": "",
        "4": "",
        "5": "",
        "6": "/_profiler/0835fb",
        "7": "panel=router&type=request",
        "8": null,
        "9": "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)",
        "10": null,
        "11": null,
        "12": null,
        "13": null,
        "14": "GET",
        "15": null,
        "16": "2026-11-15 00:26:32",
        "17": null,
        "18": null
    },
    "types": {
        "1": 0,
        "2": 0,
        "3": 0,
        "4": 0,
        "5": 0,
        "6": 0,
        "7": 0,
        "8": 0,
        "9": 0,
        "10": 0,
        "11": 0,
        "12": 0,
        "13": 0,
        "14": 0,
        "15": 0,
        "16": 0,
        "17": 0,
        "18": 0
    }
}
00:26:32 DEBUG doctrine Committing transaction
{
    "exception": {}
}