Page 1 of 2

uummmmmmm... fatal error?

Posted: Thu Jan 10, 2008 12:15 am
by Eddbot
ok, i was searching, and i typed in my search criteria then i clicked enter, and i got this:
"Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 262144 bytes) in /home/spudfile/public_html/forums/search.php on line 412"
i'm not a computer genius, but i think something's broken, i think it says there's only 83 gigs on the spudfiles server and that it's been completely used up

Posted: Thu Jan 10, 2008 12:25 am
by MrCrowley
Hmm strange, it worked for me.

I'll ask PCGUY, if he doesn't see this first.

Posted: Thu Jan 10, 2008 3:29 am
by rna_duelers
Same thing for me,just then.

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 150075 bytes) in /home/spudfile/public_html/forums/search.php on line 726

Posted: Thu Jan 10, 2008 3:32 am
by MrCrowley
Still good for me :?

Posted: Thu Jan 10, 2008 3:34 am
by rna_duelers
I tried to use it before about 25 mins back and I thought it'd sought out soon but it's still doing it.

Posted: Thu Jan 10, 2008 3:40 am
by MrCrowley
Are you searching through the advance search tool? Are you searching the whole forum or a certain section?

Posted: Thu Jan 10, 2008 5:14 am
by rna_duelers
I was using Quick Search on the top right of the home page.

Posted: Thu Jan 10, 2008 5:44 am
by MrCrowley
I've used that about four times today, all worked fine.

Posted: Thu Jan 10, 2008 6:49 am
by Carlman
works fine for me too so i dunno wats up :D

Posted: Thu Jan 10, 2008 7:18 am
by bluerussetboy
this happens occasionally to functional PHP scripts when the memory requirements exceed the default 8MB limit. Google Results

adding

Code: Select all

memory_limit = 12M
to the server's php.ini file would change the requirements for all the PHP scripts.

or

adding

Code: Select all

ini_set("memory_limit","12M");
to the top of an individual script would change it for just that script.


if you guys want a nice learning tool, you should download EasyPHP. its just your standard Apache,MySql,PHP combined into one tool. then download web applications(forums,blogs and such). it'll give you a much better understanding what goes on behind the net.

i use linux and most of this comes standard with each distrobution. a lot of neat things can be done AMP servers.

Posted: Thu Jan 10, 2008 9:23 am
by PCGUY
Hey it looks like we have a smart guy here 8)

Regardless thanks for letting me know about the error, I have to be very careful with memory limits since SpudFiles shares a server with other websites... if I take too much memory they will be mad!

Posted: Thu Jan 10, 2008 9:26 am
by paaiyan
OMG, it's pcguy!

So what kind of hardware does the server have and how many other sites run on it?

Posted: Thu Jan 10, 2008 9:37 am
by PCGUY
It runs on a quad core Intel Xeon processor, each core is 2.8ghz. The server also has 4 gigs of ram. I am not sure how many other sites are on the server, I don't control it.

My host tells me that I get to move to a more powerful server soon, but who knows when.

Posted: Thu Jan 10, 2008 9:38 am
by paaiyan
Wow, that's a pretty good server. Must be a lot of sites on it if they're that worried about you taking their memory.

Posted: Thu Jan 10, 2008 10:39 am
by Carlman
do you know what other sites? just curious who shares space with SPUDFILES lol