|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58814 Possible memory leak
Submitted: 2009-08-17 05:37 UTC Modified: 2017-10-24 08:41 UTC
From: dejan dot lekic at gmail dot com Assigned:
Status: Suspended Package: ingres (PECL)
PHP Version: 5.2.6 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: dejan dot lekic at gmail dot com
New email:
PHP Version: OS:


 [2009-08-17 05:37 UTC] dejan dot lekic at gmail dot com
During the insertion of few millions of rows in a very simple table PHP takes more and more memory. Looks to me like it does not free resources somewhere.

Reproduce code:

Expected result:
I do not expect PHP to take more than few MB of RAM.

Actual result:
It took over 2.2 GB (!!!) of RAM after 16 millions of rows have been inserted.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-04-22 10:23 UTC] jruffer at hss dot co dot uk
Try using ingres_free_result($res).  It may help.
 [2017-10-24 08:41 UTC]
-Status: Open +Status: Suspended
 [2017-10-24 08:41 UTC]
The ingres package has not had any activity for 4 years, so its safe to say that its no longer in active development, if activity picks backup then the maintainer can re-open this report
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sun Dec 03 01:01:27 2023 UTC