php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11622 memory_limit directive is useless...
Submitted: 2001-06-22 16:51 UTC Modified: 2001-06-23 07:40 UTC
From: services at fanfiction dot net Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0 Latest CVS (2001-06-22) OS: W2K Advanced Server
Private report: No CVE-ID: None
 [2001-06-22 16:51 UTC] services at fanfiction dot net
Running PHP 4.07dev from phpWin on SourceForge...and running IIS 5.0 and running PHP in CGI form...have not tested the memory_limit directive on earlier versions of php..

using following script, the 30 timelimit was hit, and as it should, but php.exe was able to chew up over 100mbs and it would've gotten more if it wasnt' for the time limit which works 
-----------------

<? 
$i = 1;
while(1)
{	
	$i++;
	$toast[$i] = "asdfasfd";
}

?>

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-23 07:40 UTC] sniper@php.net
The memory limit feature must be enabled at compile
time. It works just fine then.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 12:01:28 2024 UTC