Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4117872
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T22:53:19+00:00 2026-05-20T22:53:19+00:00

I recently got a job in a web newspaper. In the website, we have

  • 0

I recently got a job in a web newspaper. In the website, we have a very old and important Symfony Application, written for an older developer, long time gone.
That application is sacred: is the blood of the newspapers revenues. The problem is we have no backup, no developer installation, nothing, only the production installation
When I came here, I was very surprise for this risky decision. I week ago, the apps started to fail. I have zero experience in Symfony (i’m a rails developer), and that old apps was the “old and loyal dog who nothing will fail”, but started to fail, and everyone is freaking out!

So, I need the help of the symfony developers of this site to find a “quick” solution meanwhile I try to convince my bosses that we need a more professional aproach (and the times and resources to do it)
The problem is this

Every time the people use the app, this message appear

fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 17106016 bytes) in /path/to/symfony/config_core_compile.yml.php on line 3366

The lines is in the middle of this function

public function shutdown()
{
  if (!is_null($this->cache) && $this->cacheChanged)
  {
    $this->cacheChanged = false;
    $this->cache->set('symfony.routing.data', serialize($this->cacheData));
  }
}

I looked at google but only found people with the same problem, no solution… Please, anyone who could help me, Help me please!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T22:53:19+00:00Added an answer on May 20, 2026 at 10:53 pm

    I would try to first clear the cache in the app as the cache may just be massive.

    in the symfony root folder run this command

    php symfony clear:cache
    

    If that does not solve the problem, I would up the memory limit until the root of the problem is fixed

    So inside the index.php file add this before any symfony loading occurs

    ini_set('memory_limit', '256M');
    

    The best way to debug the app is to use the built-in dev environment. Add a file to the symfony web root that has the following:

    // this check prevents access to debug front controllers that are deployed by accident to production servers.
    // feel free to remove this, extend it or make something more sophisticated.
    if (!in_array(@$_SERVER['REMOTE_ADDR'], array('127.0.0.1', '::1', 'YOUR IP ADDRESS HERE')))
    {
      die('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.<!-- ' . $_SERVER['REMOTE_ADDR'] . ' -->');
    }
    
    require_once(dirname(__FILE__).'/../config/ProjectConfiguration.class.php');
    
    $configuration = ProjectConfiguration::getApplicationConfiguration('[app name]', 'dev', true);
    sfContext::createInstance($configuration)->dispatch();
    

    Don’t forget to add your IP address in the third line so that you have access to view the dev environment data.

    The app name is the name of the application that is in your %symfony root%/apps folder

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

recently I got a job interview for a web developer position. They ask me
I have recently written a survey application that has done it's job and all
I recently got hired as a web developer, and the project that I am
I recently got to know about trinidad of Apache MYfaces. For web application i
I recently got a mac and have very little experience with macos. * The
Recently got a new job as a Rails developer, having never previously used the
I recently got interested in web crawlers but one thing isn't a very clear
I recently got the following error in my web application. The page 'ControlName.ascx' cannot
I recently got into Java. I have a background in dynamic languages and I'm
I have just recently got involved in a classic ASP.NET project which contains lots

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.