On Sat, Aug 15, 2009 at 6:37 PM, Ram Kumar.K <ramkumarit2...@gmail.com>wrote:

> hi friends I am learning php ...
> While running the php program it shows the error
> "Fatal error: Allowed memory size of 268435456 bytes exhausted (tried
> to allocate 35 bytes) in /var/www/flames/one.php on line 58"


please read the fatal error again. you should notice the line number.  check
what you have written on line no.58 which exhausted memory.


>
> And also  i changed the memory limit for the php
> by
>
> $old_limit = ini_set("memory_limit", "256M");
>

not sure whether a php script needs this much memory for it to run. if its
like a cron job which does heavy processing, please do it with perl


>
>  but no use, the same error is displayed


set memory limit in php.ini


- balachandar muruganantham
உலகம்.net - இலவச தமிழ் வலைப்பதிவுச் சேவை - http://ulagam.net
எனது தமிழ் பக்கங்கள் - http://www.balachandar.net/pakkangal
Beyond Work - http://beyondwork.wordpress.com/
"இல்லதென் இல்லவள் மாண்பானால் உள்ளதென் இல்லவள் மாணாக் கடை? " - குறள் எண் : 53
_______________________________________________
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to