|
Joined: Jan 2004
Posts: 193
member
|
member
Joined: Jan 2004
Posts: 193 |
We have a member trying to UL a photo to the gallery and they are getting this error: Fatal error: Out of memory (allocated 35127296) (tried to allocate 10716 bytes) in /homepages/26/d222149051/htdocs/sites/christians-in-recovery.org/www/members/forums/libs/image.inc.php on line 78
What is the problem and how do we fix it?
Thank you.
|
|
|
|
Joined: Feb 2007
Posts: 1,294 Likes: 2
Veteran
|
Veteran
Joined: Feb 2007
Posts: 1,294 Likes: 2 |
What size in Bytes is the file?
|
|
|
|
Joined: Jun 2006
Posts: 16,301 Likes: 116
|
Joined: Jun 2006
Posts: 16,301 Likes: 116 |
It's stating that it's over your 35mb filsize limit by 10k; the fix would be upgrading your php memory limit...
|
|
|
|
Joined: Jun 2006
Posts: 693
Addict
|
Addict
Joined: Jun 2006
Posts: 693 |
I'm getting this error too -
Fatal error: Out of memory (allocated 1835008) (tried to allocate 98304 bytes) in E:\forums\libs\html.inc.php on line 1908
How do I upgrade the PHP memory limit?
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
That's a bit of an odd place to be getting the error if you're running a stock 7.5.3 install, since that is just where it sets up any custom bbcodes you might have for the markup panel. So that appears to be coming from the new post screen, which really shouldn't be taking that much memory.
Are you personally getting that error? If so, what were you trying to do at the time?
If you really need to up the memory, then you'll find this in your server php.ini file, and it's the: memory_limit setting you're looking for.
|
|
|
|
Joined: Jun 2006
Posts: 16,301 Likes: 116
|
Joined: Jun 2006
Posts: 16,301 Likes: 116 |
I donno, the memory limit looks kind of low... I have mine set to 32M in my config, hers looks like it's 1.8M lol
|
|
|
|
Joined: Jun 2006
Posts: 693
Addict
|
Addict
Joined: Jun 2006
Posts: 693 |
Yes I definitely personally getting it, and yes it was on a new post screen. I was trying to make a post.
I'll go look for that now, thanks!
|
|
|
|
Joined: Jun 2006
Posts: 693
Addict
|
Addict
Joined: Jun 2006
Posts: 693 |
Hmmm I went into my php.ini and it says
memory_limit = 128M ; Maximum amount of memory a script may consume (128MB)
So doesn't that mean I'm allocating 128mb? That should be high enough, yes?
this is in c:\program files\php
|
|
|
|
Joined: Jun 2006
Posts: 16,301 Likes: 116
|
Joined: Jun 2006
Posts: 16,301 Likes: 116 |
That should be too high really; the error message says that it allocated 1835008 bytes which is 1.8mb; is there sufficient free resources on the machine?
|
|
|
|
Joined: Jun 2006
Posts: 693
Addict
|
Addict
Joined: Jun 2006
Posts: 693 |
Yes the server always has free memory and lots of free processing power. I wonder if it's an incremental thing where the longer the forum is up the more confused things get. To be off like that does seem a bit confusing I just upped the limit to 256M and also kicked up the processing times from 60s to 90s and am rebooting. Let's see how that helps! I probably should also reboot the server every week or so to give it a fresh start. The machine does get slower as time goes on. The only two things running on this machine are the forums and mail, since the forums send a lot of mail out it makes sense to have them in the same place. Mail is MailEnable which I also use on a different server for my other sites, and I've never had any issue with MailEnable. So I don't think it's interfering with the memory. Both do use MySQL.
|
|
|
|
Joined: Dec 2003
Posts: 6,566 Likes: 78
|
Joined: Dec 2003
Posts: 6,566 Likes: 78 |
Okay waiting on your server to reboot today. I finally get Fatal error: Out of memory (allocated 2621440) (tried to allocate 98304 bytes) in ubbthreads.inc.php on line 1305
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
0 members (),
719
guests, and
142
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|