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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: services at fanfiction dot net
New email:
PHP Version: OS:

 

 [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: Wed May 01 18:01:31 2024 UTC