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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T01:56:42+00:00 2026-05-14T01:56:42+00:00

All, I am working on a Zend Framework based web application. We keep encountering

  • 0

All,

I am working on a Zend Framework based web application. We keep encountering out of memory errors on our dev server:

Allowed memory size of XXXX bytes exhausted (tried YYYY…

We keep increasing memory_limit in php.ini, but it is now up over 1000 megs. What is a normal memory_limit value? What are the usual suspects in php/Zend for running out of memory? We are using the Propel ORM.

Thanks for all of the help!

Update
I cannot reproduce this error in my windows environment. If I set memory_limit low (say 16M), I get the same error, but the “tried to allocate” amount is always something reasonable. For example:
(tried to allocate 13344 bytes)
If I set the memory very low on the (Fedora 9) server (such as 16M), I get the same thing. consistent, reasonable out of memory errors. However, even when the memory limit is set very high on our server (128M, for example), maybe once a week, I will get an crazy huge memory error: (tried to allocate 1846026201 bytes). I don’t know if that might shed any more light onto what is going on. We are using propel 1.5. It sounds like the actual release is going to come out later this month, but it doesn’t look like anyone else is having this problem with it anyway. I don’t know that Propel is the problem. We are using Zend Server with php 5.2 on the Linux box, and 5.3 locally.

Any more ideas? I have a ticket out to get Xdebug installed on the Linux box.

Thanks,

-rep

  • 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-14T01:56:42+00:00Added an answer on May 14, 2026 at 1:56 am

    I think this has something to do with deployment from cruise control. I only get the very high (on the order of gigs) memory error when someone is deploying new code (or just after new code has been deployed). This makes a little bit of sense too since the error always points to a line that is a “require_once.” Each time I get an error:
    Fatal error: Out of memory (allocated 4456448) (tried to allocate 3949907977 bytes) in /directory/file.php on line 2

    I have replaced the “require_once” line with:
    class_exists(‘Ingrain_Security_Auth’) || require(‘Ingrain/Security/Auth.php’);

    I have replaced that line in 3 files so far, and have not had any more memory issues. Can anyone shed some light into what might be going on? I am using Cruise Control to deploy.

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

Sidebar

Ask A Question

Stats

  • Questions 513k
  • Answers 513k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer What about creating a new thread with the highest priority?… May 16, 2026 at 5:49 pm
  • Editorial Team
    Editorial Team added an answer Use a repeater : <asp:Repeater runat="server" id="rpGeneratedTags"> <headertemplate> <textarea name="generatedTags">… May 16, 2026 at 5:49 pm
  • Editorial Team
    Editorial Team added an answer We are advising to work with roles as it has… May 16, 2026 at 5:49 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I am working with Zend framework and just hate the fact that I seem
I've been working with Zend Framework (using Doctrine as the ORM) for quite a
I recently got PHPUnit working with xDebug for testing my Zend Framework applications. The
I'm working through Practical Web 2.0 Appications currently and have hit a bit of
I am trying to build a Connect app using PHP and the Zend Framework.
So i've followed the tutorial Zend Framework: Navigation and Breadcrumbs with an XML File
I am using Zend Framework 1.9.6. I want to start using cron jobs. I
I'm doing this tutorial: http://www.phpeveryday.com/articles/Zend-Framework-Database-Creating-Input-Form-P494.html We are building a simple input form using POST
There is something strange going on. I am using Zend Framework on a subfolder
I've inherited some javascript, and it's not all working as expected at the moment.

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.