php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16133 PHP-GTK unset does not free memory for a widget
Submitted: 2002-03-18 01:45 UTC Modified: 2002-10-30 01:00 UTC
From: brett at brabys dot co dot za Assigned:
Status: No Feedback Package: Performance problem
PHP Version: 4.1.2 OS: Redhat Linux 7.1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
8 + 7 = ?
Subscribe to this entry?

 
 [2002-03-18 01:45 UTC] brett at brabys dot co dot za
As the title explains, once a widget has been created,
remove'ing it does not free the memory and unset'ing it
does not either. This is particularly bad for long running
gtk apps.

The same happens with the CLI php without GTK however disableing the fast cache does deal with this.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-14 23:00 UTC] iliaa@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip


 [2002-10-30 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over 2 weeks, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2005-01-20 22:26 UTC] bearhug001 at homail dot com
The Bug still appears on my System. Win2000, PHP 4.3.11-dev, and php-gtk-1.0.1a for windows... The memory will not be freed, after closing a window by the method destroy().
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Thu Dec 01 03:05:53 2022 UTC