Date: 11/16/00
- Next message: stas <email protected>: "[PHP-DEV] PHP 4.0 Bug #7787 Updated: Parse error not detected by the parser"
- Previous message: Hartmut Holzgraefe: "[PHP-DEV] A suggestion regarding stabel vs. experimental on the extension level"
- Next in thread: hholzgra <email protected>: "[PHP-DEV] PHP 4.0 Bug #7836 Updated: memory_limit ignored"
- Maybe reply: hholzgra <email protected>: "[PHP-DEV] PHP 4.0 Bug #7836 Updated: memory_limit ignored"
- Maybe reply: jmoore <email protected>: "[PHP-DEV] PHP 4.0 Bug #7836 Updated: memory_limit ignored"
- Maybe reply: jmoore <email protected>: "[PHP-DEV] PHP 4.0 Bug #7836 Updated: memory_limit ignored"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 7836
Updated by: hholzgra
Reported By: mail-php <email protected>
Status: Feedback
Bug Type: PHP options/info functions
Assigned To:
Comments:
how does your configure line look like?
have you used '--enable-memory-limit' ?
it is _not_ enabled by default!
Previous Comments:
---------------------------------------------------------------------------
[2000-11-15 22:11:20] mail-php <email protected>
The resource limits section of php.ini is being ignored.
The ini file reads:
memory_limit = 6M
In a script it is possible to allocate well past this. I
succeeded in allocating over 100MB.
Sample:
$str = '';
$total = 0;
for ( $i = 0 ; $i < 65000 ; $i++ )
$str .= 'a';
for ( $i = 0 ; $i < 1024 ; $i++ ) {
printf(' %d (%d)', $i, $total);
$strbuff[$i] = "$i - $str";
flush();
$total += strlen($strbuff[$i]);
}
# This allocates ~ 64MB
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7836
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: stas <email protected>: "[PHP-DEV] PHP 4.0 Bug #7787 Updated: Parse error not detected by the parser"
- Previous message: Hartmut Holzgraefe: "[PHP-DEV] A suggestion regarding stabel vs. experimental on the extension level"
- Next in thread: hholzgra <email protected>: "[PHP-DEV] PHP 4.0 Bug #7836 Updated: memory_limit ignored"
- Maybe reply: hholzgra <email protected>: "[PHP-DEV] PHP 4.0 Bug #7836 Updated: memory_limit ignored"
- Maybe reply: jmoore <email protected>: "[PHP-DEV] PHP 4.0 Bug #7836 Updated: memory_limit ignored"
- Maybe reply: jmoore <email protected>: "[PHP-DEV] PHP 4.0 Bug #7836 Updated: memory_limit ignored"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

