php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41331 memory exhaustions after upgrading from 5.2.0 to 5.2.2
Submitted: 2007-05-08 18:34 UTC Modified: 2007-05-08 18:41 UTC
From: php at bitrockers dot de Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 5.2.2 OS: Debian Etch 2.6.18-3-amd64
Private report: No CVE-ID: None
 [2007-05-08 18:34 UTC] php at bitrockers dot de
Description:
------------
After upgrading from PHP 5.2.0 to 5.2.2 we've see a lot of 

PHP Fatal error:  Allowed memory size of 16777216 bytes exhausted (tried to allocate 1875 bytes) in ...

erros in our error log. Before 5.2.0 we've had a memory limit of 8M, and we never faced that problem.

After the problem occured we've increased the memory limit to 16M. Now the error shows up less frequently, but it's still there.

I assume that there is some kind of memory leak in 5.2.2, or some function used in our scripts 'eats' a lot more memory than in 5.2.0. 


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-05-08 18:41 UTC] tony2001@php.net
All memory leaks are reported by the memory manager.
Slightly increased memory usage is expected.

Btw, recommended value for memory_limit is 128Mb.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jul 07 23:01:32 2025 UTC