Re: [PHP-WIN] Memory leak occurs when exec() function is used on Windows platform

2007-09-11 Thread Leo G. Divinagracia III
h... just tested it on my box: win xp sp2, apache 2.2.2, php 5.1.4 and 1gb of ram. ran it under CLI. copied your code and and created a 0 btye test.bat file. rebooted the machine so a fresh start. first time, i actually gained 3 megs of ram back, after the process timed out after 60 se

[PHP-WIN] Memory leak occurs when exec() function is used on Windows platform

2007-09-09 Thread melmack
Hi I have a big problem with shell commands execution via PHP. I have written a very short PHP script ilustrating the problem: test.bat is just an empty file. This script causes about 10 MB memory leak. It can be observed by usage of performance system monitor. This problems occurs in al

Re: [PHP-WIN] Memory leak

2002-11-11 Thread Maxim Maletsky
If you can investigate well on the issue and get a little summary of facts, try searching bugs.php.net for a similar problem. If you find nothing about it submit it there. -- Maxim Maletsky [EMAIL PROTECTED] "James Pharaoh" <[EMAIL PROTECTED]> wrote... : > Hi, > > I am running php 4.2.2 on

[PHP-WIN] Memory leak

2002-11-11 Thread James Pharaoh
Hi, I am running php 4.2.2 on Microsoft IIS in Win2k Server. Over a period of about a day memory is leaking until the server needs rebooting. This only happens when the PHP ISAPI filter is enabled in IIS. Has anyone encountered a similar problem or know any possible solution? I'm pulling my hai