Results 1 to 5 of 5
Thread: Fatal error: Allowed memory size
-
02-05-2003, 07:06 PM #1Disabled
- Join Date
- Apr 2002
- Location
- Las Vegas
- Posts
- 799
Fatal error: Allowed memory size
this customer that i have on my ensim server is geting this error every 3 weeks or so ...
I have my tech go into the php site1 to up the memory. right now it sits @ 16 MB's
is there anything i can to stop this error from happen again ? he runs a large forum
site1 = http://www.torquespeed.net
Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 3840 bytes) in /home/virtual/site1/fst/var/www/html/forums/sources/lib/post_parser.php(172) : regexp code on line 1
can anybody please help ... thanks
system
http://207.44.142.51/HotSaNIC/
system total momery is 512MB , i have 11 sites in it / ensim 3.1.4 / 7.2 redhat / PHP Version 4.2.2
-
02-05-2003, 10:01 PM #2Newbie
- Join Date
- Jan 2003
- Location
- Tampa, FL
- Posts
- 24
Tell him to use a new message board maybe?
-
02-05-2003, 10:02 PM #3Newbie
- Join Date
- Jan 2003
- Location
- Tampa, FL
- Posts
- 24
I also forgot to mention, it could be other sites causing this. Such as use of Image functions, with resizing them, etc. Or Cronjobs can use up system memory depending on the needs of it etc. Just go through each site and if you see something that you think could be the problem ask them what they are doing, etc.
(I dunno, just a solution?)
-
02-05-2003, 10:21 PM #4Web Hosting Master
- Join Date
- Sep 2002
- Location
- Illinois
- Posts
- 2,307
That script wants to use more then 16 MB of memory. I would recommend to use another forum. 16 MB is enough for the PHP script.
Also, php errors always give you good information about error type and on what line it happened. Seems like regexp function is working hard and eating memory.
nullHow's my programming? Call 1-800-DEV-NULL
-
02-05-2003, 10:48 PM #5Disabled
- Join Date
- Apr 2002
- Location
- Las Vegas
- Posts
- 799
Originally posted by PAitken
I also forgot to mention, it could be other sites causing this. Such as use of Image functions, with resizing them, etc. Or Cronjobs can use up system memory depending on the needs of it etc. Just go through each site and if you see something that you think could be the problem ask them what they are doing, etc.
(I dunno, just a solution?)
you think that can be the problem ?