ID:               38591
 Updated by:       [EMAIL PROTECTED]
 Reported By:      rr at d2g dot org dot uk
-Status:           Open
+Status:           Bogus
 Bug Type:         *Directory/Filesystem functions
 Operating System: win XP
 PHP Version:      5.1.5
 New Comment:

Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

Dupe of bug #38604 (this one has more information), the issue 
is identical however.


Previous Comments:
------------------------------------------------------------------------

[2006-08-29 12:43:13] rr at d2g dot org dot uk

I'm not 100% convinced that they are the same issue. I think this is
related to the implementation of the magic method __toString.

Mainly because if the line below,
                $tmp = pathinfo($file); 
is replaced with
                $tmp = pathinfo($file->__tostring());

The memory leak no longer seems present even though fundmentally these
should be doing exactly the same thing. 

So I belive it is somthing to do with the implementation of the magic
__toString() function.

------------------------------------------------------------------------

[2006-08-29 12:09:04] [EMAIL PROTECTED]

Duplicate of bug #33487.

------------------------------------------------------------------------

[2006-08-29 12:04:57] rr at d2g dot org dot uk

Every time the loop is executed the memory used by php increases by
approx 4k. This happens even though everything is unset. So every loop
the memory usage should return to the minimum amount but this doesn't
happen the memory usage continues to increase.

To view the error, load windows taskman and view the memory usage of
php when running this code. You should see it slowly increasing.

------------------------------------------------------------------------

[2006-08-29 10:08:02] [EMAIL PROTECTED]

What do you mean by "memory leak" ?

------------------------------------------------------------------------

[2006-08-29 07:03:59] rr at d2g dot org dot uk

Still present when using CSV snapshot.

------------------------------------------------------------------------

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
    http://bugs.php.net/38591

-- 
Edit this bug report at http://bugs.php.net/?id=38591&edit=1

Reply via email to