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