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 #173802 is a reply to message #173800] Thu, 05 May 2011 15:49 Go to previous messageGo to previous message
alvaro.NOSPAMTHANX is currently offline  alvaro.NOSPAMTHANX
Messages: 277
Registered: September 2010
Karma:
Senior Member
El 05/05/2011 17:43, newphp escribió/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..!!??

I don't think that a killed process can still show up in the process
list and even allocate more memory... What do you mean exactly with "the
script gets killed"? Do you mean that you close the Firefox tab?


--
-- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://borrame.com
-- Mi web de humor satinado: http://www.demogracia.com
--
[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: Tue Nov 26 19:46:49 GMT 2024

Total time taken to generate the page: 0.04975 seconds