No there is not. There were some tricks to trigger the garbage collector for
previous versions of the Flash player, but as far as I know there are none
for the current version.

Are you testing with the Release player or Debug player? If I understand you
correctly, you are able to successfully run the garbage collector. If this
is the case, the problem might be less significant in the release player
(non-debug player).


Greetz Erik


On 5/14/08, Nicolas Boulet-Lavoie <[EMAIL PROTECTED]> wrote:
>
> Erik,
>
>
> That is what I tested. Is there any ways to call the garbage collector from
> Flex (Action Script) after, like 1000 callbacks, to make sure that the
> memory is freed?
>
>
>
> Thanks
>
> Nicolas
>
>
>
> *De :* [email protected] [mailto:[EMAIL PROTECTED] *De
> la part de* EECOLOR
> *Envoyé :* 14 mai 2008 09:43
> *À :* [email protected]
> *Objet :* Re: [flexcoders] Ever increasing memory for MX:HTTPService
>
>
>
> You could use the Flex2 profiler to find the exact problem. You may
> find out that when you click the garbage collection button, memory is freed.
> If this is the case, then there is no problem in the running application.
> When testing an application it may take quite some time before the garbage
> collector kicks in.
>
> Greetz Erik
>
> On 5/14/08, *Nicolas Boulet-Lavoie* <[EMAIL PROTECTED]>
> wrote:
>
> Hello guys,
>
>
>
> I need to perform a XML query each 2 seconds to verify if they are new
> connected people in my support applications. For this purpose, I use a
> mx :HTTPService which query a URL and parse XML data (2 lines max, each
> result).
>
>
>
> Since this application needs to run at last, 8-9 hours a day, the memory
> used by the mx :httpservice seems to grow each time the result is parsed.
>
>
>
> I heard a bit about the memory profiling in the edition I use. Any tips
> about it? Maybe it could help me solve the problem.
>
>
>
> Thanks for your help.
>
>
>
> Nicolas
>
>
> 
>

Reply via email to