Hello Alex, thanks for your reply, I've been using it to find the problem and 
the only thing 
that i find is that an instace of a "BitString" declare in my custom encode 
Class is not 
leaving the memory. Once I ended the methot that created and instance keeps in 
memory.

Is there a manual of how to get the full use of the Profiler in Flex 3?



--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> The Flex3 Profiler can help you find memory leaks
> 
>  
> 
> ________________________________
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of cavi21
> Sent: Monday, June 02, 2008 2:10 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Memory leaks in a asyncronic operation
> 
>  
> 
> Hello, i've been searching for a while to a solution to this problem,
> and i've been trying myself, with no succeed.
> The problem is this, i'm encoding to JPEG six bitmap captures from a
> webcam stream in a video component.
> Up to here, is no problem. But if I used the native class to encode
> (mx.graphics.codec.JPEGEncoder) the AIR application hang for 2 minutes
> processing the images. In these case at the end of the process i call
> a function to free up the memory, and everything works fine.
> The problem is that i'm using a modified class to encode
> (http://blog.paranoidferret.com/index.php/2007/12/11/flex-tutorial-an-as
> ynchronous-jpeg-encoder/
> <http://blog.paranoidferret.com/index.php/2007/12/11/flex-tutorial-an-as
> ynchronous-jpeg-encoder/> )
> . The benefit is that i can show a progressbar showing the encoding
> process. But the only problem that i have is that, at the end of the
> process, i have memory hang up... i've been reading that these may
> occur without a proper care in the events listeners.
> Sory about my english, is not ma native language, and thanks in
> advance for your time and patience.
>



Reply via email to