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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T12:34:41+00:00 2026-06-07T12:34:41+00:00

I signed up to GitHub and forked Symfony2 . I tried to run the

  • 0

I signed up to GitHub and forked Symfony2. I tried to run the Symfony2 tests according to the instructions. I type > phpunit but every time, after some tests, I suddenly get out of memory message:

PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 40 bytes) in ...\Symfony\Component\HttpFoundation\HeaderBag.php on line 37

Then, the tests result is something like that:

503 Service Unavailable503 Service Unavailable503 Service Unavailable503 Service
Unavailable503 Service Unavailable503 Service Unavailable503 Service Unavailable

What may be causing it?

  • 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-07T12:34:42+00:00Added an answer on June 7, 2026 at 12:34 pm

    I ran into the same problem using the 2.0 branch. The full set of tests require approx. 163Mb of memory and like first answer said php defaults to 128M. You have two options.

    Change the default max memory allocation to something greater than 163Mb.

    memory_limit = 200M in php.ini

    or

    • copy phpunit.xml.dist to phpunit.xml
    • alter the attribute bootstrap to read bootstrap="tests/local-bootstrap.php"
    • add an entry into your .gitignore for tests/local-bootstrap.php
    • create local-bootstrap.php with something like:

    local-bootstrap.php

    <?php
        ini_set('memory_limit', '200M'); // might need to adjust the value
        require 'bootstrap.php'          // no need to duplicate the bootstrap
    

    This way allows you to add local changes without having to worry about git tacking any modifications to files that are local to your machine.

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

Sidebar

Related Questions

I'm using knox module to https://github.com/LearnBoost/knox to create signed URLs for files on S3,
After following: https://github.com/plataformatec/devise/wiki/OmniAuth:-Overview I can sign up a user via Facebook. But I'm struggling
I forked a project on GitHub, pushed some changes, and opened a pull request.
I'm just starting out with Git. I've signed up with Github, installed Git for
.NET signed assemblies contain public key, but the public key is used for encryption
Today I signed up for github, and converted an existing filesystem into a git
I tried to use ServiceStack in my current project but found the binaries released
Why the range of signed character is -128 to 127 but not -127 to
I read that self-signed certificates suffer from performance issues (for example, here ) but
I am trying to follow along Michael Hartl's Rails tutorial but I've run across

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.