News: When asking for support, it helps us and you, if you read the Posting Guidelines

Login  |  Register
HTML5 Icon HTML5 Icon
TP on Social Media
Welcome, Guest. Please login or register.
Did you miss your activation email?

July 16, 2019, 02:28:29 AM

Login with username, password and session length

Recent

Members
Stats
  • Total Posts: 188512
  • Total Topics: 20736
  • Online Today: 26
  • Online Ever: 629
  • (November 08, 2018, 01:36:54 PM)
Users Online
Users: 0
Guests: 21
Total: 21

Author Topic: Fatal error: Allowed memory size of 33554432 bytes exhausted  (Read 3077 times)

0 Members and 1 Guest are viewing this topic.

danyaeldemonic

  • Guest
Fatal error: Allowed memory size of 33554432 bytes exhausted
« on: February 23, 2010, 02:54:37 PM »
I'm getting a long error message when attempting to upload a new clip to my site. I've had no problems up until now and the file size is within limits so I'm lost. I have this site professionally hosted and have TONS of space so that shouldn't be an issue
Any suggestions?
=======
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 8294400 bytes) in /mounted-storage/home106b/sub003/sc63357-LJEZ/xxx.com/Sources/TPcommon.php on line 84

Offline GhostRider2110

  • Sr. Member
  • ****
  • Posts: 394
Re: Fatal error: Allowed memory size of 33554432 bytes exhausted
« Reply #1 on: February 23, 2010, 02:57:17 PM »
Looks like a memory error from PHP.  I would check with your hosting provider to make sure they didn't make any changes to your php.ini.  An upgrade or something which reset things to default.  Or reduced your total memory allocation for some reason.  Would not be disk space related but memory related. --Mitch
Mitchell Baker AMA 7548 GSWA WB251 10th AF USSMA 358
Webmaster Terre Haute R/C Club http://www.thrcc.org
US Scale Master Midwest Region Manager http://www.ussma-midwest.org
Proud member of the 1/8th Air Force http://www.oneeighthairforce.org
CoffeeCup Software Ambassador Get 20% Off

danyaeldemonic

  • Guest
Re: Fatal error: Allowed memory size of 33554432 bytes exhausted
« Reply #2 on: February 23, 2010, 03:03:27 PM »
thanks, i'll check into that!

Offline Lesmond

  • Do what you have to!
  • Administrator
  • *
  • Posts: 3121
    • Buildz Hosting
Re: Fatal error: Allowed memory size of 33554432 bytes exhausted
« Reply #3 on: February 23, 2010, 03:46:00 PM »
It is also possible to increase the memory limit to avoid this problem. you can create this by placing the following line in note pad and save as php.ini then up-load to your forum root.

memory_limit=16M

You should replace the '16' with whatever value is appropriate

beware that some host do not like you doing this

.

Please don't PM me for support without an invitation.


danyaeldemonic

  • Guest
Re: Fatal error: Allowed memory size of 33554432 bytes exhausted
« Reply #4 on: February 24, 2010, 06:42:31 AM »
I sent a message to my host, who told me to try to alter the .htaccess file in my server..i assumed he meant the one within tp_downloads as thats where I'm having the issue. That didn't seem to work either. This wouldn't have anything to do with the size of the Avatar/Attachment folder?
« Last Edit: February 24, 2010, 06:45:03 AM by danyaeldemonic »

Offline GhostRider2110

  • Sr. Member
  • ****
  • Posts: 394
Re: Fatal error: Allowed memory size of 33554432 bytes exhausted
« Reply #5 on: February 24, 2010, 06:55:22 AM »
I believe you would modify the .htaccess file in the root of you site that way it should handle anything below there.  It should not have anything to do with the site of the directory unless you are running out of disk space. But that should product a different error.  This is a memory error not disk space error. What they are telling you to do is pretty much the same as what Lesmond said only the implementation of you hosting provider is a little different.  What did they say do to, put something like this
Code: [Select]
php_value memory_limit 16M
in the .htaccess file? (16 just an example)

See-ya
Mitch
Mitchell Baker AMA 7548 GSWA WB251 10th AF USSMA 358
Webmaster Terre Haute R/C Club http://www.thrcc.org
US Scale Master Midwest Region Manager http://www.ussma-midwest.org
Proud member of the 1/8th Air Force http://www.oneeighthairforce.org
CoffeeCup Software Ambassador Get 20% Off

Offline IchBin™

  • Developer
  • *
  • Posts: 16228
    • My Website
Re: Fatal error: Allowed memory size of 33554432 bytes exhausted
« Reply #6 on: February 24, 2010, 08:06:13 AM »
He is already set at 32MB. What size of file are you uploading?

Offline Skhilled

  • Beta Tester
  • *
  • Posts: 1166
  • Once you stop learning, you stop living!
    • Doc Skillz
Re: Fatal error: Allowed memory size of 33554432 bytes exhausted
« Reply #7 on: February 25, 2010, 07:03:38 AM »
Actually, you should put what Les told you in a text file and name it php.ini and put it in the root folder of your forum.

Quote
memory_limit 16M

Reading can seriously damage your ignorance!

Offline GhostRider2110

  • Sr. Member
  • ****
  • Posts: 394
Re: Fatal error: Allowed memory size of 33554432 bytes exhausted
« Reply #8 on: February 25, 2010, 07:27:13 AM »
Actually, you should put what Les told you in a text file and name it php.ini and put it in the root folder of your forum.

Quote
memory_limit 16M

Would that not depend on host the hosting provider has things setup?  I know with one of my providers, for a while we did use a php.ini file then we had to switch to using .htaccess files... 

--Mitch
Mitchell Baker AMA 7548 GSWA WB251 10th AF USSMA 358
Webmaster Terre Haute R/C Club http://www.thrcc.org
US Scale Master Midwest Region Manager http://www.ussma-midwest.org
Proud member of the 1/8th Air Force http://www.oneeighthairforce.org
CoffeeCup Software Ambassador Get 20% Off

Offline Skhilled

  • Beta Tester
  • *
  • Posts: 1166
  • Once you stop learning, you stop living!
    • Doc Skillz
Re: Fatal error: Allowed memory size of 33554432 bytes exhausted
« Reply #9 on: February 25, 2010, 08:39:27 AM »
Could be, but most would use php.ini. You should also check with them to make sure it is ok to use a php.ini file as it would override their settings. Some hosting do not allow this and state so in their TOS. ;)

Reading can seriously damage your ignorance!