hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Hosting : Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 24 by
Reply

Forum Jump

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 24 by

Reply Post New Thread In Web Hosting Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 11-20-2010, 11:20 PM
seachen seachen is offline
Web Hosting Guru
 
Join Date: Aug 2007
Posts: 263

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 24 by


1 of my client website always got this error.

may i know how to fix it?

Reply With Quote


Sponsored Links
  #2  
Old 11-20-2010, 11:23 PM
FLDataTeK FLDataTeK is offline
Web Hosting Master
 
Join Date: Sep 2010
Location: /usr/bin/fail
Posts: 856
increase memory_limit in your php.ini should cure it.

__________________
JAXVPS Web Hosting Solutions - http://www.jaxvps.com
Offering Premium SSD Shared, Reseller, and VPS Hosting Since 2010
VPS servers available in both Jacksonville and Chicago locations

Reply With Quote
  #3  
Old 11-20-2010, 11:24 PM
MikeDVB MikeDVB is online now
Web Host Extraordinaire!!!
 
Join Date: Dec 2007
Location: Indianapolis, Indiana USA
Posts: 14,971
Quote:
Originally Posted by seachen View Post
1 of my client website always got this error.



may i know how to fix it?
Contact your provider and ask them to raise the memory limit or to advise you on how to go about doing so on your own.

__________________
Michael Denney - MDDHosting, LLC - Professional Hosting Solutions
LiteSpeed Powered - Shared, Reseller, Semi-Dedicated, and VPS
For high-end shared accounts ideal for business, check out our Semi-Dedicated offerings!
http://www.mddhosting.com/ - Providing Quality Services since 2007

Reply With Quote
Sponsored Links
  #4  
Old 11-20-2010, 11:24 PM
seachen seachen is offline
Web Hosting Guru
 
Join Date: Aug 2007
Posts: 263
now is as below:

Quote:
memory_limit = 128M ; Maximum amount of memory a script may consume (128MB)
what is the suggested value?

Reply With Quote
  #5  
Old 11-20-2010, 11:29 PM
FLDataTeK FLDataTeK is offline
Web Hosting Master
 
Join Date: Sep 2010
Location: /usr/bin/fail
Posts: 856
you might try doubling that given that your file size is 33megs, but I assume that once its uploaded something is trying to either convert or compress the file similar to the way wordpress does when you upload a file.

128megs was enough for me on my system when uploading up to a 15 meg jpg image so you might need a little more..

__________________
JAXVPS Web Hosting Solutions - http://www.jaxvps.com
Offering Premium SSD Shared, Reseller, and VPS Hosting Since 2010
VPS servers available in both Jacksonville and Chicago locations

Reply With Quote
  #6  
Old 11-20-2010, 11:48 PM
seachen seachen is offline
Web Hosting Guru
 
Join Date: Aug 2007
Posts: 263
I have double it to 256M.

But it seen like remain same. Is it script problem?

Reply With Quote
  #7  
Old 11-20-2010, 11:59 PM
Sparrow-Sean Sparrow-Sean is offline
Web Hosting Master
 
Join Date: May 2008
Location: Melbourne, Australia
Posts: 10,436
Sounds like poor coding to myself, a good script would not require excessive use of memory. You could try increasing it to 512MB as a test, though, not something I would highly recommend.

__________________
l Spiral Hosting Limited • Shared • Reseller • Cloud VPS • Since 2003
l Leading UK and Ireland Hosting Provider • Multiple locations - around the globe!
l cPanel/WHM • R1Soft Backups • 24/7/365 Support • 99.9% Uptime Guarantee
l www.spiralhosting.com • Chief Technical Officer • Superior Service Guarantee

Reply With Quote
  #8  
Old 11-20-2010, 11:59 PM
UNIXy UNIXy is offline
Warp Speed!
 
Join Date: Feb 2008
Location: Houston, Texas, USA
Posts: 2,837
Quote:
Originally Posted by seachen View Post
I have double it to 256M.

But it seen like remain same. Is it script problem?
The script itself could be settings the value. Search your directory for a php.ini file or ini_set('memory_limit', xxx) like this:

Code:
grep memory_limit -r /home/ex_dir/public_html |grep ini_set
OR

Code:
find /home/ex_dir/public_html -type f -name 'php.ini'
Regards
Joe / UNIXY

__________________
|- UNIXY :: Fully Managed Servers and Clusters Since 2006
|- DC POP :: Houston, Los Angeles, Atlanta, & Rotterdam NL
|- Managed Magento Varnish Servers w/ ESI. < 250ms Page Load / TTFB
L- We LOVE helping our clients!

Reply With Quote
  #9  
Old 11-21-2010, 12:00 AM
MikeDVB MikeDVB is online now
Web Host Extraordinaire!!!
 
Join Date: Dec 2007
Location: Indianapolis, Indiana USA
Posts: 14,971
If I'm not mistaken WordPress does actually set the memory_limit itself, I forget which file (and I don't have a console handy at the moment to check).

At any rate, you can either just comment the line out or adjust it in the file.

__________________
Michael Denney - MDDHosting, LLC - Professional Hosting Solutions
LiteSpeed Powered - Shared, Reseller, Semi-Dedicated, and VPS
For high-end shared accounts ideal for business, check out our Semi-Dedicated offerings!
http://www.mddhosting.com/ - Providing Quality Services since 2007

Reply With Quote
  #10  
Old 11-21-2010, 12:35 AM
FLDataTeK FLDataTeK is offline
Web Hosting Master
 
Join Date: Sep 2010
Location: /usr/bin/fail
Posts: 856
The file that WP uses is the wp-settings.php file.


Not sure if he is using WP as his script but there might be a similar item in his script to do it as well.

__________________
JAXVPS Web Hosting Solutions - http://www.jaxvps.com
Offering Premium SSD Shared, Reseller, and VPS Hosting Since 2010
VPS servers available in both Jacksonville and Chicago locations

Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fatal error: Allowed memory size sanjai1977 Programming Discussion 3 05-08-2010 03:34 PM
Allowed Memory Size of ___ bytes exhausted Necroist Hosting Security and Technology 3 04-05-2006 11:08 AM
php - Fatal Error: Memory size exhausted Georgecooldude Programming Discussion 7 08-22-2004 10:34 AM
Allowed memory size of 8388608 bytes exhausted..... Jet Blast Programming Discussion 6 08-07-2004 05:22 AM
Fatal error: Allowed memory size Ivan23 Programming Discussion 4 02-05-2003 10:48 PM

Related posts from TheWhir.com
Title Type Date Posted
Microsoft Returns Domain Names to No-IP After Taking Down Dynamic DNS Service Users Web Hosting News 2014-07-07 13:35:00
Admin Error Brings Down Joyent’s Ashburn Data Center Web Hosting News 2014-05-28 10:18:18
The Final Countdown: ARIN Down to 16 Million IPv4 Addresses Web Hosting News 2014-05-23 15:27:49
Connectria Hosting Rebrands Corporate Policy and Website Web Hosting News 2013-06-28 12:37:57
Rackspace Adds Redis as a Service with Exceptional Cloud Services Acquisition Web Hosting News 2013-04-01 10:55:48


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?