I did some tests with Woody and I can confirm that everything behaves as
advertised. Local variables held by continuations become
garbage-collectable when the continuation returned by showForm is
invalidated and also when it expires.
(I still think I have a memory leak if I end the script with
Dear friends,
I'm experiencing a memory leak in an application we are currently
testing, which uses Flowscript and Woody. Since continuations store a
reference to local variables, and the memory leak does not manifest
itself if I don't create any continuation, I'm starting to suspect that
my
Ugo Cei wrote:
Dear friends,
I'm experiencing a memory leak in an application we are currently
testing, which uses Flowscript and Woody. Since continuations store a
reference to local variables, and the memory leak does not manifest
itself if I don't create any continuation, I'm starting to
Christopher Oliver wrote:
Ugo Cei wrote:
I'm experiencing a memory leak in an application we are currently
testing, which uses Flowscript and Woody. Since continuations store a
reference to local variables, and the memory leak does not manifest
itself if I don't create any continuation, I'm
Do you have global variables in your scripts?
Ugo Cei wrote:
Christopher Oliver wrote:
Ugo Cei wrote:
I'm experiencing a memory leak in an application we are currently
testing, which uses Flowscript and Woody. Since continuations store
a reference to local variables, and the memory leak does
Christopher Oliver wrote:
Do you have global variables in your scripts?
Not at all.
Ugo
Ugo Cei wrote:
Christopher Oliver wrote:
Ugo Cei wrote:
I'm experiencing a memory leak in an application we are currently
testing, which uses Flowscript and Woody. Since continuations store
a reference to local variables, and the memory leak does not
manifest itself if I don't create any
Christopher Oliver wrote:
Look at Optimizeit and see if there are any instances of
org.mozilla.javascript.cotinuations.Continuation or
org.apache.cocoon.components.flow.WebContinuation still around after this.
OK. This leaks a java.awt.Rectangle (plus a WebContinuation and a
Continuation) each