Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 2951656 bytes) in /var/www/dani-candles.com/vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php on line 306
Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 2951656 bytes) (500 Internal Server Error)

Symfony Exception

OutOfMemoryError

HTTP 500 Internal Server Error

Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 2951656 bytes)

Exception

Symfony\Component\ErrorHandler\Error\ OutOfMemoryError

Show exception properties
Symfony\Component\ErrorHandler\Error\OutOfMemoryError {#9769
  -error: array:4 [
    "type" => 1
    "message" => "Allowed memory size of 134217728 bytes exhausted (tried to allocate 2951656 bytes)"
    "file" => "/var/www/dani-candles.com/vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php"
    "line" => 306
  ]
}
  1. $data = stream_get_contents($h);
  2. flock($h, \LOCK_UN);
  3. fclose($h);
  4. if (\function_exists('gzdecode')) {
  5. $data = @gzdecode($data) ?: $data;
  6. }
  7. if (!$data = unserialize($data)) {
  8. return null;
  9. }

Logs 1

Level Channel Message
INFO 11:10:02 deprecation User Deprecated: The Liip\ImagineBundle\Templating\FilterTrait trait is deprecated since version 2.7 and will be removed in 3.0; use Twig instead.
{
    "exception": {}
}
INFO 11:10:02 deprecation User Deprecated: The Liip\ImagineBundle\Templating\FilterExtension class is deprecated since version 2.7 and will be removed in 3.0; configure "liip_imagine.twig.mode" to "lazy" instead.
{
    "exception": {}
}
INFO 11:10:02 deprecation User Deprecated: Relying on non-optimal defaults for ID generation is deprecated, and IDENTITY results in SERIAL, which is not recommended. Instead, configure identifier generation strategies explicitly through configuration. We currently recommend "SEQUENCE" for "Doctrine\DBAL\Platforms\PostgreSQLPlatform", when using DBAL 3, and "IDENTITY" when using DBAL 4, so you should probably use the following configuration before upgrading to DBAL 4, and remove it after deploying that upgrade: $configuration->setIdentityGenerationPreferences([ "Doctrine\DBAL\Platforms\PostgreSQLPlatform" => ClassMetadata::GENERATOR_TYPE_SEQUENCE, ]); (ClassMetadataFactory.php:639 called by ClassMetadataFactory.php:550, https://github.com/doctrine/orm/issues/8893, package doctrine/orm)
{
    "exception": {}
}
INFO 11:10:02 request Matched route "_profiler".
{
    "route": "_profiler",
    "route_parameters": {
        "_route": "_profiler",
        "_controller": "web_profiler.controller.profiler::panelAction",
        "token": "11d2fe"
    },
    "request_uri": "https://dani-candles.com/_profiler/11d2fe?panel=sylius_cart&type=request",
    "method": "GET"
}
DEBUG 11:10:02 security Checking for authenticator support.
{
    "firewall_name": "shop",
    "authenticators": 3
}
DEBUG 11:10:02 security Checking support on authenticator.
{
    "firewall_name": "shop",
    "authenticator": "Symfony\\Component\\Security\\Http\\Authenticator\\Debug\\TraceableAuthenticator"
}
DEBUG 11:10:02 security Authenticator does not support the request.
{
    "firewall_name": "shop",
    "authenticator": "Symfony\\Component\\Security\\Http\\Authenticator\\Debug\\TraceableAuthenticator"
}
DEBUG 11:10:02 security Checking support on authenticator.
{
    "firewall_name": "shop",
    "authenticator": "Symfony\\Component\\Security\\Http\\Authenticator\\Debug\\TraceableAuthenticator"
}
DEBUG 11:10:02 security Authenticator does not support the request.
{
    "firewall_name": "shop",
    "authenticator": "Symfony\\Component\\Security\\Http\\Authenticator\\Debug\\TraceableAuthenticator"
}
DEBUG 11:10:02 security Checking support on authenticator.
{
    "firewall_name": "shop",
    "authenticator": "Symfony\\Component\\Security\\Http\\Authenticator\\Debug\\TraceableAuthenticator"
}
DEBUG 11:10:02 security Authenticator does not support the request.
{
    "firewall_name": "shop",
    "authenticator": "Symfony\\Component\\Security\\Http\\Authenticator\\Debug\\TraceableAuthenticator"
}
INFO 11:10:02 doctrine Connecting with parameters {params}
{
    "params": {
        "driver": "pdo_pgsql",
        "idle_connection_ttl": 600,
        "host": "127.0.0.1",
        "port": null,
        "user": "dcndls",
        "password": "<redacted>",
        "driverOptions": [],
        "defaultTableOptions": [],
        "dbname": "dani_candles",
        "serverVersion": "15",
        "charset": "utf8"
    }
}
DEBUG 11:10:02 doctrine Executing statement: SELECT t0.code AS code_1, t0.name AS name_2, t0.color AS color_3, t0.description AS description_4, t0.enabled AS enabled_5, t0.hostname AS hostname_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.id AS id_9, t0.theme_name AS theme_name_10, t0.tax_calculation_strategy AS tax_calculation_strategy_11, t0.contact_email AS contact_email_12, t0.contact_phone_number AS contact_phone_number_13, t0.skipping_shipping_step_allowed AS skipping_shipping_step_allowed_14, t0.skipping_payment_step_allowed AS skipping_payment_step_allowed_15, t0.account_verification_required AS account_verification_required_16, t0.shipping_address_in_checkout_required AS shipping_address_in_checkout_required_17, t0.default_locale_id AS default_locale_id_18, t19.code AS code_20, t19.created_at AS created_at_21, t19.updated_at AS updated_at_22, t19.id AS id_23, t0.base_currency_id AS base_currency_id_24, t25.code AS code_26, t25.created_at AS created_at_27, t25.updated_at AS updated_at_28, t25.id AS id_29, t0.default_tax_zone_id AS default_tax_zone_id_30, t0.menu_taxon_id AS menu_taxon_id_31, t0.shop_billing_data_id AS shop_billing_data_id_32, t0.channel_price_history_config_id AS channel_price_history_config_id_33 FROM sylius_channel t0 INNER JOIN sylius_locale t19 ON t0.default_locale_id = t19.id INNER JOIN sylius_currency t25 ON t0.base_currency_id = t25.id WHERE t0.hostname = ? AND t0.enabled = ? ORDER BY t0.id ASC LIMIT 1 (parameters: {params}, types: {types})
{
    "sql": "SELECT t0.code AS code_1, t0.name AS name_2, t0.color AS color_3, t0.description AS description_4, t0.enabled AS enabled_5, t0.hostname AS hostname_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.id AS id_9, t0.theme_name AS theme_name_10, t0.tax_calculation_strategy AS tax_calculation_strategy_11, t0.contact_email AS contact_email_12, t0.contact_phone_number AS contact_phone_number_13, t0.skipping_shipping_step_allowed AS skipping_shipping_step_allowed_14, t0.skipping_payment_step_allowed AS skipping_payment_step_allowed_15, t0.account_verification_required AS account_verification_required_16, t0.shipping_address_in_checkout_required AS shipping_address_in_checkout_required_17, t0.default_locale_id AS default_locale_id_18, t19.code AS code_20, t19.created_at AS created_at_21, t19.updated_at AS updated_at_22, t19.id AS id_23, t0.base_currency_id AS base_currency_id_24, t25.code AS code_26, t25.created_at AS created_at_27, t25.updated_at AS updated_at_28, t25.id AS id_29, t0.default_tax_zone_id AS default_tax_zone_id_30, t0.menu_taxon_id AS menu_taxon_id_31, t0.shop_billing_data_id AS shop_billing_data_id_32, t0.channel_price_history_config_id AS channel_price_history_config_id_33 FROM sylius_channel t0 INNER JOIN sylius_locale t19 ON t0.default_locale_id = t19.id INNER JOIN sylius_currency t25 ON t0.base_currency_id = t25.id WHERE t0.hostname = ? AND t0.enabled = ? ORDER BY t0.id ASC LIMIT 1",
    "params": {
        "1": "dani-candles.com",
        "2": 1
    },
    "types": {
        "1": 2,
        "2": 5
    }
}
DEBUG 11:10:02 doctrine Executing statement: SELECT t0.code AS code_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t0.id AS id_4 FROM sylius_locale t0 INNER JOIN sylius_channel_locales ON t0.id = sylius_channel_locales.locale_id WHERE sylius_channel_locales.channel_id = ? (parameters: {params}, types: {types})
{
    "sql": "SELECT t0.code AS code_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t0.id AS id_4 FROM sylius_locale t0 INNER JOIN sylius_channel_locales ON t0.id = sylius_channel_locales.locale_id WHERE sylius_channel_locales.channel_id = ?",
    "params": {
        "1": 2
    },
    "types": {
        "1": 1
    }
}
DEBUG 11:10:02 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener::configure"
}
DEBUG 11:10:02 event Notified event "kernel.request" to listener "Sylius\Bundle\ResourceBundle\Storage\CookieStorage::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Sylius\\Bundle\\ResourceBundle\\Storage\\CookieStorage::onKernelRequest"
}
DEBUG 11:10:02 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ValidateRequestListener::onKernelRequest"
}
DEBUG 11:10:02 event Notified event "kernel.request" to listener "Symfony\Bridge\Doctrine\Middleware\IdleConnection\Listener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bridge\\Doctrine\\Middleware\\IdleConnection\\Listener::onKernelRequest"
}
DEBUG 11:10:02 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelRequest"
}
DEBUG 11:10:02 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::setDefaultLocale"
}
DEBUG 11:10:02 event Notified event "kernel.request" to listener "Sylius\Bundle\ApiBundle\EventSubscriber\KernelRequestEventSubscriber::validateApi".
{
    "event": "kernel.request",
    "listener": "Sylius\\Bundle\\ApiBundle\\EventSubscriber\\KernelRequestEventSubscriber::validateApi"
}
DEBUG 11:10:02 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelRequest"
}
DEBUG 11:10:02 event Notified event "kernel.request" to listener "Sylius\Resource\Symfony\EventListener\AddFormatListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Sylius\\Resource\\Symfony\\EventListener\\AddFormatListener::onKernelRequest"
}
DEBUG 11:10:02 event Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\AddFormatListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "ApiPlatform\\Symfony\\EventListener\\AddFormatListener::onKernelRequest"
}
DEBUG 11:10:02 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelRequest"
}
DEBUG 11:10:02 event Notified event "kernel.request" to listener "Sylius\Bundle\ShopBundle\EventListener\NonChannelLocaleListener::restrictRequestLocale".
{
    "event": "kernel.request",
    "listener": "Sylius\\Bundle\\ShopBundle\\EventListener\\NonChannelLocaleListener::restrictRequestLocale"
}
DEBUG 11:10:02 event Notified event "kernel.request" to listener "FOS\RestBundle\EventListener\BodyListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "FOS\\RestBundle\\EventListener\\BodyListener::onKernelRequest"
}
DEBUG 11:10:02 event Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::configureLogoutUrlGenerator"
}
DEBUG 11:10:02 event Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelRequest"
}
DEBUG 11:10:02 event Notified event "kernel.request" to listener "Sylius\Bundle\LocaleBundle\Listener\RequestLocaleSetter::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Sylius\\Bundle\\LocaleBundle\\Listener\\RequestLocaleSetter::onKernelRequest"
}
DEBUG 11:10:02 event Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\ReadListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "ApiPlatform\\Symfony\\EventListener\\ReadListener::onKernelRequest"
}
DEBUG 11:10:02 event Notified event "kernel.request" to listener "Sylius\Bundle\CoreBundle\EventListener\LocaleAwareListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Sylius\\Bundle\\CoreBundle\\EventListener\\LocaleAwareListener::onKernelRequest"
}
DEBUG 11:10:02 event Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\DeserializeListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "ApiPlatform\\Symfony\\EventListener\\DeserializeListener::onKernelRequest"
}
DEBUG 11:10:02 event Notified event "kernel.request" to listener "Sylius\Bundle\AdminBundle\EventListener\AdminFilterSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Sylius\\Bundle\\AdminBundle\\EventListener\\AdminFilterSubscriber::onKernelRequest"
}
DEBUG 11:10:02 event Notified event "kernel.request" to listener "Sylius\Bundle\CoreBundle\Checkout\CheckoutResolver::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Sylius\\Bundle\\CoreBundle\\Checkout\\CheckoutResolver::onKernelRequest"
}
DEBUG 11:10:02 event Notified event "kernel.request" to listener "Symfony\UX\LiveComponent\EventListener\LiveComponentSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\UX\\LiveComponent\\EventListener\\LiveComponentSubscriber::onKernelRequest"
}
DEBUG 11:10:02 event Notified event "kernel.controller" to listener "Symfony\UX\LiveComponent\EventListener\LiveComponentSubscriber::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\UX\\LiveComponent\\EventListener\\LiveComponentSubscriber::onKernelController"
}
DEBUG 11:10:02 event Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Bundle\\FrameworkBundle\\DataCollector\\RouterDataCollector::onKernelController"
}
DEBUG 11:10:02 event Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelController"
}
DEBUG 11:10:02 event Notified event "kernel.controller_arguments" to listener "Symfony\Component\Security\Http\EventListener\IsCsrfTokenValidAttributeListener::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Symfony\\Component\\Security\\Http\\EventListener\\IsCsrfTokenValidAttributeListener::onKernelControllerArguments"
}
DEBUG 11:10:02 event Notified event "kernel.controller_arguments" to listener "Symfony\Component\Security\Http\EventListener\IsGrantedAttributeListener::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Symfony\\Component\\Security\\Http\\EventListener\\IsGrantedAttributeListener::onKernelControllerArguments"
}
DEBUG 11:10:02 event Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\CacheAttributeListener::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\CacheAttributeListener::onKernelControllerArguments"
}
DEBUG 11:10:02 event Notified event "kernel.controller_arguments" to listener "ContainerBeW71Kh\RequestPayloadValueResolverGhost01ca9cc::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "ContainerBeW71Kh\\RequestPayloadValueResolverGhost01ca9cc::onKernelControllerArguments"
}
DEBUG 11:10:02 event Notified event "kernel.controller_arguments" to listener "Sylius\Bundle\CoreBundle\EventListener\CircularDependencyBreakingErrorListener::onControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Sylius\\Bundle\\CoreBundle\\EventListener\\CircularDependencyBreakingErrorListener::onControllerArguments"
}
CRITICAL 11:10:02 request Uncaught PHP Exception Symfony\Component\ErrorHandler\Error\OutOfMemoryError: "Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 2951656 bytes)" at FileProfilerStorage.php line 306
{
    "exception": {}
}

Stack Trace

OutOfMemoryError
Symfony\Component\ErrorHandler\Error\OutOfMemoryError:
Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 2951656 bytes)

  at vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php:306