please help me out, i have a problem in php side bar. this bar contains tags from website.. Fatal error: Out of memory (allocated 42729472) (tried to allocate 32 bytes) in /home/XXX/public_html/XX/rightbar.php on line 262 thankx in advance
Usually it is a problem with loop or similar that eats up all the memory. However just raise the memory limit and see if that helps as seoforall suggest.
Keep increasing the memory limit until your script fits or your server squeals for mercy. You can also make this change permanently for all PHP scripts running on the server by adding a line like this to the server’s php.ini file: change memory_limit = 15M to memory_limit = 64M[(you should change this value) Keep in mind that a huge memory limit is a poor substitute for good coding. A poorly written script may inefficiently squander memory which can cause severe problems for frequently executed scripts. However, some applications are run infrequently and require lots of memory like importing and processing a big data file.
thankx friends, acutally this is my website http://clearwebstats.com in right bar I used to display tag keyword, but the problem is I can't see any memory setup, it should be there before right? or should I just add ini_set(memory_limit, 0); ??? regarding changing memory, looking for memory limit which I can change to 4M, 16M, and 32M but can't find any code, should I just add an code about changing memory or what?? will u tell me plz..