Re: php cli memory leak error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thodoris schreef:
>>
>>
>> seems to work fine here.
>>
>> What are your php.ini (memory related) settings?
>>
>> run:
>>
>> /usr/local/bin/php --ini
>>
>> and get the location of the php.ini file that is getting used.  Check
>> our the memory settings in that file.
>>
>>
>>
>>   
> 
> Some general options:
> max_input_time = 60
> max_execution_time = 120
> memory_limit = 128M
> 
> and the last one I have just noticed (that is why it reports the leak):
> 
> report_memleaks = On
> 
> In case I set this to Off it just stops bugging me. But is there a
> memory leak?

yes.

> And if yes should I report this as a bug ?

if (

	1. report_memleaks is a core php.ini setting (not suhosin) (I don't recall)
	2. you still get the leak if you disable suhosin extension
	3. you can create a small reproduction script (seems you have one, but I'd
	   check that it's the getopt() call that triggers the leak)
	4. you can show the mem leak in 5.2.9RC2 and/or php5.3dev
) {
	report_a_bug();
}


> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux