uummmmmmm... fatal error?
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
"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
- rna_duelers
- Staff Sergeant 3
- Posts: 1739
- Joined: Mon Sep 26, 2005 7:07 am
- Location: G-land Australia
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
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

- rna_duelers
- Staff Sergeant 3
- Posts: 1739
- Joined: Mon Sep 26, 2005 7:07 am
- Location: G-land Australia
I tried to use it before about 25 mins back and I thought it'd sought out soon but it's still doing it.

- rna_duelers
- Staff Sergeant 3
- Posts: 1739
- Joined: Mon Sep 26, 2005 7:07 am
- Location: G-land Australia
I was using Quick Search on the top right of the home page.

-
- Specialist 2
- Posts: 265
- Joined: Fri Nov 02, 2007 12:25 pm
this happens occasionally to functional PHP scripts when the memory requirements exceed the default 8MB limit. Google Results
adding
to the server's php.ini file would change the requirements for all the PHP scripts.
or
adding
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.
adding
Code: Select all
memory_limit = 12M
or
adding
Code: Select all
ini_set("memory_limit","12M");
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.
- PCGUY
- Owner
- Posts: 1436
- Joined: Wed Aug 18, 2004 10:54 pm
- Location: Illinois
- Has thanked: 2 times
- Been thanked: 26 times
- Contact:
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!
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!
Yes, I am the guy that owns & operates SpudFiles (along with our extremely helpful moderators).
- paaiyan
- First Sergeant
- Posts: 2140
- Joined: Wed Dec 27, 2006 10:03 pm
- Location: Central Oklahoma
- Been thanked: 1 time
OMG, it's pcguy!
So what kind of hardware does the server have and how many other sites run on it?
So what kind of hardware does the server have and how many other sites run on it?
"Who ever said the pen was mightier than the sword, obviously, never encountered automatic weapons."
-General Douglass MacArthur
Read my dog's blog - Life of Kilo
-General Douglass MacArthur
Read my dog's blog - Life of Kilo
- PCGUY
- Owner
- Posts: 1436
- Joined: Wed Aug 18, 2004 10:54 pm
- Location: Illinois
- Has thanked: 2 times
- Been thanked: 26 times
- Contact:
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.
My host tells me that I get to move to a more powerful server soon, but who knows when.
Yes, I am the guy that owns & operates SpudFiles (along with our extremely helpful moderators).
- paaiyan
- First Sergeant
- Posts: 2140
- Joined: Wed Dec 27, 2006 10:03 pm
- Location: Central Oklahoma
- Been thanked: 1 time
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.
"Who ever said the pen was mightier than the sword, obviously, never encountered automatic weapons."
-General Douglass MacArthur
Read my dog's blog - Life of Kilo
-General Douglass MacArthur
Read my dog's blog - Life of Kilo