Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: [propel-dev] propel 1.2, Memory Leak Quashed!

propel
Discussion topic

Back to topic list

Re: [propel-dev] propel 1.2, Memory Leak Quashed!

Reply

Author Alan Pinstein <apinstein at mac dot com>
Full name Alan Pinstein <apinstein at mac dot com>
Date 2005-12-07 06:49:31 PST
Message Yes, I'd be happy to. Originally I joined the php-users list to ask
about the problem, but now that I've found "$this->this" I think I
need to go to php-dev. I am scared to use it too! :)

Although in the meantime I'm very happy the leak is gone. I didn't
like having to ini_set('memory_limit', '250M') just to load my data...

You're welcome for the help! It's nice to find a project where one
can actually add something... It's not like I'm helping apache out
any ;) Propel is a great project and a huge time-saver for me, so I
am glad to help, although I never like spending 15 hours on one issue :(

Alan

On Dec 7, 2005, at 9:41 AM, Hans Lellelid wrote:

> Hi Alan,
>
> Would you be willing to write to internals PHP list with these
> examples
> & see if this is something that we can rely on? If the $this-
> >this, for
> example, is something that is not a documented language "feature" (and
> will be taken away) then we probably don't want to rely on it, but
> otherwise I think we should apply these fixes.
>
> (I can also contact them, if you prefer, but I think you have a better
> grasp at this point of what exactly is going on here.)
>
> Thanks *so much* for your very thorough & dedicated attention &
> solution
> to this problem!
>
> Hans
>
> Alan Pinstein wrote:
>> Hmm... well I am on 5.0.4.
>>
>> There are actually still leaks in some cases (like out of try/catch)
>> but I saw the Changelog and am hoping that 5.0.5+ fixes this.
>>
>> But what I fixed wasn't a PHP bug; it was breaking a circular-
>> reference
>> deadlock that prevented refcount from ever reaching 0.
>>
>> Alan
>>
>> On Dec 7, 2005, at 2:27 AM, Sonke Ruempler wrote:
>>
>>> Hi,
>>>
>>> Alan Pinstein <mailto:apinstein​@mac.com> wrote on Wednesday,
>>> December
>>> 07,
>>> 2005 2:16 AM:
>>>
>>>> Well, I can't believe it, but after spending all day on this,
>>>> literally about 6 hours, I found a solution. Sample code is
>>>> attached.
>>>
>>>
>>> PHP Version?
>>>
>>> All versions < 5.0.5 and 4.4.0 have reference bugs.
>>>
>>>
>>> --------------------​--------------------​--------------------​--------
>>> -
>>> To unsubscribe, e-mail: dev-unsubscribe@prop​el.tigris.org
>>> For additional commands, e-mail: dev-help at propel dot tigris dot org
>>>
>>
>>
>> --------------------​--------------------​--------------------​---------
>> To unsubscribe, e-mail: dev-unsubscribe@prop​el.tigris.org
>> For additional commands, e-mail: dev-help at propel dot tigris dot org
>>
>
>
> --------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail: dev-unsubscribe@prop​el.tigris.org
> For additional commands, e-mail: dev-help at propel dot tigris dot org
>

« Previous message in topic | 17 of 20 | Next message in topic »

Messages

Show all messages in topic

Re: [propel-dev] propel 1.2 hlellelid Hans Lellelid 2005-11-22 18:37:02 PST
     Re: [propel-dev] propel 1.2 Alan Pinstein <apinstein at mac dot com> Alan Pinstein <apinstein at mac dot com> 2005-12-05 22:39:22 PST
         Re: [propel-dev] propel 1.2 hlellelid Hans Lellelid 2005-12-06 05:49:29 PST
             Re: [propel-dev] propel 1.2 Alan Pinstein <apinstein at mac dot com> Alan Pinstein <apinstein at mac dot com> 2005-12-06 07:52:58 PST
                 Re: [propel-dev] propel 1.2 Ron Rademaker <r dot rademaker at virtualbuilding dot nl> Ron Rademaker <r dot rademaker at virtualbuilding dot nl> 2005-12-06 08:21:37 PST
                     Re: [propel-dev] propel 1.2 Ron Rademaker <r dot rademaker at virtualbuilding dot nl> Ron Rademaker <r dot rademaker at virtualbuilding dot nl> 2005-12-06 08:29:27 PST
                         Re: [propel-dev] propel 1.2 Alan Pinstein <apinstein at mac dot com> Alan Pinstein <apinstein at mac dot com> 2005-12-06 08:31:38 PST
                             Re: [propel-dev] propel 1.2 Ron Rademaker <r dot rademaker at virtualbuilding dot nl> Ron Rademaker <r dot rademaker at virtualbuilding dot nl> 2005-12-06 08:34:44 PST
                                 Re: [propel-dev] propel 1.2 Alan Pinstein <apinstein at mac dot com> Alan Pinstein <apinstein at mac dot com> 2005-12-06 08:36:37 PST
             Re: [propel-dev] propel 1.2 Alan Pinstein <apinstein at mac dot com> Alan Pinstein <apinstein at mac dot com> 2005-12-06 08:43:38 PST
                 Re: [propel-dev] propel 1.2 Alan Pinstein <apinstein at mac dot com> Alan Pinstein <apinstein at mac dot com> 2005-12-06 09:19:49 PST
                     Re: [propel-dev] propel 1.2 Alan Pinstein <apinstein at mac dot com> Alan Pinstein <apinstein at mac dot com> 2005-12-06 12:20:45 PST
                         Re: [propel-dev] propel 1.2, Memory Leak Quashed! Alan Pinstein <apinstein at mac dot com> Alan Pinstein <apinstein at mac dot com> 2005-12-06 17:16:27 PST
                             RE: [propel-dev] propel 1.2, Memory Leak Quashed! =?US-ASCII?Q?Sonke_Ruempler?= <ruempler at topconcepts dot com> =?US-ASCII?Q?Sonke_Ruempler?= <ruempler at topconcepts dot com> 2005-12-06 23:27:14 PST
                                 Re: [propel-dev] propel 1.2, Memory Leak Quashed! Alan Pinstein <apinstein at mac dot com> Alan Pinstein <apinstein at mac dot com> 2005-12-07 06:19:03 PST
                                     Re: [propel-dev] propel 1.2, Memory Leak Quashed! hlellelid Hans Lellelid 2005-12-07 06:41:07 PST
                                         Re: [propel-dev] propel 1.2, Memory Leak Quashed! Alan Pinstein <apinstein at mac dot com> Alan Pinstein <apinstein at mac dot com> 2005-12-07 06:49:31 PST
                                         Re: [propel-dev] propel 1.2, Memory Leak Quashed! =?ISO-8859-1?Q?David_Z=FClke?= <dz at bitxtender dot com> =?ISO-8859-1?Q?David_Z=FClke?= <dz at bitxtender dot com> 2005-12-07 07:19:53 PST
                                             Re: [propel-dev] propel 1.2, Memory Leak Quashed! Alan Pinstein <apinstein at mac dot com> Alan Pinstein <apinstein at mac dot com> 2005-12-07 07:31:58 PST
                                                 Re: [propel-dev] propel 1.2, Memory Leak Quashed! =?ISO-8859-1?Q?David_Z=FClke?= <dz at bitxtender dot com> =?ISO-8859-1?Q?David_Z=FClke?= <dz at bitxtender dot com> 2005-12-07 08:02:51 PST
Messages per page: