cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Curdt <tcu...@apache.org>
Subject Re: Javaflow - major memory issue
Date Thu, 27 Mar 2008 14:47:59 GMT

On Mar 27, 2008, at 15:33, Torsten Curdt wrote:
>
> On Mar 27, 2008, at 15:13, Joerg Heinicke wrote:
>> Torsten Curdt <tcurdt <at> apache.org> writes:
>>
>>>> Just have a look at the quote from the original. It gives the  
>>>> object
>>>> relationships in the memory. BufferedOutputStream takes 50% and is
>>>> hold in HttpEnvironment which is hold in TreeProcessorRedirector
>>>> which is hold in ContinuationContext. I wondered why it is there.
>>>
>>> Ah ...well, the ContinuationContext should be short living. Maybe
>>> there is a dangling reference to it?
>>
>> Ah, getting closer :)
>>
>> It's the Continuation that holds the ContinuationContext [1]:
>
> Hm... it should set clear the reference in 'finally'. See the  
> execute method
>
> http://svn.apache.org/viewvc/commons/sandbox/javaflow/trunk/src/java/org/apache/commons/javaflow/bytecode/StackRecorder.java?revision=560660&view=markup
>
> Weird...

What cocoon version are we talking about anyway?


Mime
View raw message