logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Other Software View previous topic :: View next topic
Reply to topic   Topic: PHP Fatal Error with ab.exe tool
Author
elavarasan



Joined: 26 Sep 2011
Posts: 53

PostPosted: Sat 08 Oct '11 8:48    Post subject: PHP Fatal Error with ab.exe tool Reply with quote

Can you help me,

I'm getting below mentioned error
PHP Fatal error: Out of memory (allocated 262144) (tried to allocate 393216 bytes)


so where to increase the PHP out of memory on windows server

Thanks,
Back to top
Kanashii



Joined: 17 Jul 2006
Posts: 155
Location: Porando

PostPosted: Sun 09 Oct '11 0:36    Post subject: Reply with quote

Im told you increase TCP limit and restar server

Stop posting another topic
Back to top
elavarasan



Joined: 26 Sep 2011
Posts: 53

PostPosted: Sun 09 Oct '11 8:20    Post subject: Reply with quote

First sorry for posted on other post. but still i'm getting error.

I have increased upto 3000M but still i'm getting same errors and here is the :

Apache Error Log :

Cannot initialize zend_mm storage [win32]

PHP Log Error :

PHP Fatal error: Out of memory (allocated 262144) (tried to allocate 393216 bytes)

When i doing apachebenching more than 100 concurrent users with 100 concurrent transactions.

I'm using Windows server 2008 r2 and Apache 2.2.17 with as a handler and PHP 5.2.17 as Safe Thread.

our application will not support with Cgi with non-thread-safe.

Please advise

Thanks,
Back to top
Kanashii



Joined: 17 Jul 2006
Posts: 155
Location: Porando

PostPosted: Sun 09 Oct '11 23:03    Post subject: Reply with quote

Sorry but only one solution FCGID { but why NOT ? }
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Mon 10 Oct '11 10:17    Post subject: Re: PHP Fatal Error with ab.exe tool Reply with quote

elavarasan wrote:

PHP Fatal error: Out of memory (allocated 262144) (tried to allocate 393216 bytes)



You have to increase the memory limit in your php.ini
Back to top
elavarasan



Joined: 26 Sep 2011
Posts: 53

PostPosted: Mon 10 Oct '11 10:25    Post subject: Reply with quote

I have already increased Memory_Limit = 3000M in PHP.INI file but still i'm getting these kind of errors when doing load testing by AB.EXE.

And What i need to do below mentioned Apache Error :


Apache Error Log :

Cannot initialize zend_mm storage [win32]


Thanks,
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Mon 10 Oct '11 13:00    Post subject: Reply with quote

Something in the grey matter tells me that I have seen that error in condition with a php extentions. Which extensions dod you load in your php.ini?
Back to top


Reply to topic   Topic: PHP Fatal Error with ab.exe tool View previous topic :: View next topic
Post new topic   Forum Index -> Other Software