FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Memory leak
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Memory leak [message #173805 is a reply to message #173800] Thu, 05 May 2011 17:09 Go to previous message
Denis McMahon is currently offline  Denis McMahon
Messages: 634
Registered: September 2010
Karma:
Senior Member
On Thu, 05 May 2011 08:43:23 -0700, newphp wrote:

> When I run a PHP script, the script gets killed , when I check the
> memory using the command TOP, this process is taking lot of memory
> eventually running out..!!
> when i check for memory in the script using memory_get_usage or
> memory_get_peak_usage functions its uses around 2mb..!! the script takes
> a datalist file, reads each row and executes mysql queries..!! wat could
> be the reason..!!??

Which process are you checking with top?

Are you sure it's not exceeding some arbitrary execution time?

What's the error message?

Are you running from command line or in a server environment?

Rgds

Denis McMahon
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Verify Paypal transaction for _any_ account?
Next Topic: php license
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 30 07:48:47 GMT 2024

Total time taken to generate the page: 0.03923 seconds