Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #1434
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | "Álvaro G. Vicario" <alvaro.NOSPAMTHANX@demogracia.com.invalid> |
| Newsgroups | comp.lang.php |
| Subject | Re: Memory leak |
| Date | Thu, 05 May 2011 17:49:59 +0200 |
| Organization | http://alvaro.es/ |
| Lines | 19 |
| Message-ID | <ipugv9$7vk$1@dont-email.me> (permalink) |
| References | <ba8dcb14-7847-4292-b434-75db643fedad@p7g2000yqh.googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 8bit |
| Injection-Date | Thu, 5 May 2011 15:50:01 +0000 (UTC) |
| Injection-Info | mx01.eternal-september.org; posting-host="cGK1b/hKigUIxJ7GHBGqtg"; logging-data="8180"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+anC6ZFonhOOpoE4CJUjqL" |
| User-Agent | Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 |
| In-Reply-To | <ba8dcb14-7847-4292-b434-75db643fedad@p7g2000yqh.googlegroups.com> |
| Cancel-Lock | sha1:LLJDbcSBIrfP2NRVoc3dvMSvrNk= |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.php:1434 |
Show key headers only | View raw
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 --
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Memory leak newphp <shabarishhr@gmail.com> - 2011-05-05 08:43 -0700
Re: Memory leak "Mr. B-o-B" <mr.chew.baka@gmail.com> - 2011-05-05 10:46 -0500
Re: Memory leak newphp <shabarishhr@gmail.com> - 2011-05-05 08:53 -0700
Re: Memory leak "Álvaro G. Vicario" <alvaro.NOSPAMTHANX@demogracia.com.invalid> - 2011-05-05 17:49 +0200
Re: Memory leak Denis McMahon <denis.m.f.mcmahon@gmail.com> - 2011-05-05 17:09 +0000
csiph-web