Page 1 of 1
Fatal error: Allowed memory
Posted: Tue May 27, 2008 7:06 am
by gaogier
I was making a template.... and all of a sudden, i get this error...
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 29249 bytes) in /home/gaogier/public_html/phpBB3/includes/functions_template.php on line 133
What do i do?
I have given the script alot more memory... the error now says
Fatal error: Allowed memory size of 205520896 bytes exhausted (tried to allocate 29249 bytes) in /home/gaogier/public_html/phpBB3/includes/functions_template.php on line 103
What do i do?
I just saved 1 template... and this happend, please help if you know how to...
Re: Fatal error: Allowed memory
Posted: Tue May 27, 2008 8:23 am
by JAB Creations
The number 33554432 seems to be rather popular with about 276,000 results on Google.
Offhand the only thing I would guess is that you somehow ran out of memory; more specifically either you don't have jack-squat for memory or something got stuck in a loop (maybe an infinite loop) and hit some sort of 32 megabyte preset limitation. It could also be a one time glitch. The more you can't reproduce it no matter what then the more likely it was a one time glitch. Either way I'm just trying to give you some ideas of what to try and do to figure out the issue.
Good luck!
Re: Fatal error: Allowed memory
Posted: Tue May 27, 2008 8:32 am
by gaogier
well it only happened when i edited a file, then i put the orgianal one back and still going... it was a template file...
Re: Fatal error: Allowed memory
Posted: Tue May 27, 2008 9:42 am
by Eran
A good idea might be to go to the lines in the code that are specified in the error messages and see whats going on there...
Re: Fatal error: Allowed memory
Posted: Tue May 27, 2008 9:55 am
by pickle
It looks like an infinite loop - that's about the only way I now that a template file can use 205520896 bytes of memory.
Re: Fatal error: Allowed memory
Posted: Tue May 27, 2008 10:41 am
by gaogier
but what about a brand new forum, just copyed over the config file?
Re: Fatal error: Allowed memory
Posted: Tue May 27, 2008 11:41 am
by pickle
...you said you were modifying a template file. Template files can usually have loops in them.
Re: Fatal error: Allowed memory
Posted: Tue May 27, 2008 11:52 am
by gaogier
but what if the new forum install has the prosilver only
Re: Fatal error: Allowed memory
Posted: Tue May 27, 2008 12:06 pm
by pickle
Look in that file on those lines & see what there is. phpBB has a pretty vibrant support community too - you could try asking there.
Re: Fatal error: Allowed memory
Posted: Tue May 27, 2008 1:52 pm
by gaogier
asked on phpbb website forums, nothing, they say its the host, host say its the site...