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 9196881
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T21:56:52+00:00 2026-06-17T21:56:52+00:00

My Symfony application is using a lot of memory for a reason I do

  • 0

My Symfony application is using a lot of memory for a reason I do not quite understand (I am not processing images or anything that I think would be heavy on memory).


I can see from here that 128M of memory limit is very high…and that no one should ever need that much memory.

php.ini file:

 memory_limit = 128M; 

I believe people have to deal with this too within a Symfony application, so I was wondering if I could have some input on the following:

  1. Is 128M manageable, or is this really amazingly high? What do people use in general within a Symfony app, and what is the maximum I should tend to go to?
  2. What can I do to improve this, is there a way to debug memory issues?
  3. Are there any processes that use a lot of memory that I should be aware of while coding?

(I for example noticed that injecting many services in a class via the DIC could require more memory, even if I can’t guarantee this, I am just raising the question whether or not there are some important things a coder should know to avoid using too much memory, like using the DIC with care for example..).

  • 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-06-17T21:56:53+00:00Added an answer on June 17, 2026 at 9:56 pm
    1. It is ok. Any framework takes some resources for itselfs. On the other hand (and is more important) it allow you to develop rapidly

    2. As I’ve commented earlier: use profiler to find out memory usage. It is very, very powerfull tool.

    3. Many of them. Dependency injection may require more memory, and it makes you to create more files. But it makes design much better. If you want to write unit tests there is no alternative.

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

Sidebar

Related Questions

I am writing an application using Symfony. I have some reusable components that I
We are develping an application using PHP and Symfony framework. Ideally the system would
I am developing an application using Symfony 2 and Twig for templating. I would
I'm currently developing an application using Symfony 2 and would like my routes to
I am developing a somewhat complex, mostly AJAX application using symfony 1.4. It would
I am developing an application using Symfony 1.4. Is it posible to disable a
Currently developing an application using the newest version of symfony, obtained through PEAR. This
I'm using Symfony 1.4 and Doctrine. My application's backend was built using Symfony's admin
I'm using symfony for one of my projects. The application has already developed and
I have a test suite for phpunit for my symfony application. In that test

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.