List Info

Thread: When to use createContinuation="false" (was Re: Memory leak)




When to use createContinuation="false" (was Re: Memory leak)
country flaguser name
Spain
2008-02-27 01:48:04
On Tue, 2008-02-26 at 16:02 -0800, bugzillaapache.org wrote:
> http://issues.apache.org/bugzilla/show_bug.cgi?id=43240

> I did some memory profiling with the MultiWorkflow
usecase and noticed two
> problems:
> 
> 1. Continuations aren't invalidated and eat up memory.
> 2. The MultiWorkflow usecase creates a continuation but
doesn't need one.
> 
> I have added some code to invalidate the continuation
to usecases.js and added
> the createContinuation="false" attribute to
the MultiWorkflow view declaration.
> We should be very careful to add this attribute to all
view declarations which
> don't need a continuation.

Is there a general rule of thumb when a usecase needs
continuation and
when not? I guess having this will lower the impact.

salu2
-- 
Thorsten Scherler                                
thorsten.at.apache.org
Open Source Java                      consulting, training
and solutions


------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )