php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #34115 Port memory_get_usage() to windows and add php.ini option to enable it
Submitted: 2005-08-13 08:34 UTC Modified: 2005-08-15 18:55 UTC
From: techtonik@php.net Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: 4.4.0 OS: Windows
Private report: No CVE-ID: None
 [2005-08-13 08:34 UTC] techtonik@php.net
Description:
------------
Windows lacks memory_get_usage(), but for developer's machine it can be very convenient. Is it possible to port this function and enable it through php.ini? (making off by default)

See also bug #29953


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-08-13 13:57 UTC] derick@php.net
Actually, Windows supports this just fine if you build it yourself with memory limit enabled. Our default binaries don't do that, and without this feature enabled there is no way for the engine to know how much memory is actually used.
 [2005-08-15 18:55 UTC] techtonik@php.net
Why isn't it possible to make binaries with memory limit enabled and make this feature switchable in php.ini?
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Jun 13 23:01:32 2024 UTC