Bug #72391 [Opn->Csd]: Committed memory steadily increasing
| From: | rob dot vandermei at gmail dot com | Date: | Mon, 25 Jul 2016 21:22:11 +0000 |
| Subject: | Bug #72391 [Opn->Csd]: Committed memory steadily increasing | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-202595@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=72391&edit=1
ID: 72391
User updated by: rob dot vandermei at gmail dot com
Reported by: rob dot vandermei at gmail dot com
Summary: Committed memory steadily increasing
-Status: Open
+Status: Closed
Type: Bug
Package: FPM related
Operating System: CentOS 6.8
PHP Version: 7.0.7
Block user comment: N
Private report: N
New Comment:
Fixed after upgrading to 7.0.9. Thanks!
Previous Comments:
------------------------------------------------------------------------
[2016-07-06 08:12:22] maroszek at gmx dot net
Indeed. This fixes the issue.
I had to make a change in php.h (Line 259) though. There seems to be an error in the current master.
From:
# if PHP_WIN32
To:
# if defined(PHP_WIN32)
Otherwise MSVC was very unhappy.
Thanks for the fix!
------------------------------------------------------------------------
[2016-07-05 11:27:04] laruence@php.net
could be dup to #72476, could you please try the snapshot of php-7.0 branch?
it may already be fixed by this commit: https://github.com/php/php-src/commit/bd74e7d0133493ee4290857ac368f5fbdd278084
thanks
------------------------------------------------------------------------
[2016-07-05 07:52:50] maroszek at gmx dot net
Screenshot:
https://dl.dropboxusercontent.com/u/8356310/memory1.png
------------------------------------------------------------------------
[2016-07-05 07:49:48] maroszek at gmx dot net
I was able to pinpoint the problem to this commit:
https://github.com/php/php-src/commit/e23a41225fc4ea099b88e7fc450459173443d98f
After this commit my virtual memory usage skyrockets :)
I am using this simple piece of code: https://gist.github.com/paresy/b4babb919a86e9764bc4
Visual Studio 2015, Update 2 on Windows 10 x64
I will attach a screenshot of the diag window in a minute
------------------------------------------------------------------------
[2016-07-03 16:32:05] maroszek at gmx dot net
I can verify the issue.
7.0.5 is working fine
7.0.6+ is leaking lots of memory
The php script can be empty. (I just added php opening tags <?)
I am using PHP as an embed library. Therefore i cannot restart the process and my application dies
quite quickly.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=72391
--
Edit this bug report at https://bugs.php.net/bug.php?id=72391&edit=1