Did you try to inspect the back references to see why the objects are
not getting GCed??

>> But in same time profiles shows 0 instances of modules which
was loaded. Whats is going on there?

If you remove the filters for mx.*.*, the modules data should become
visible. 

Also if you can isolate to a smaller test case, can you submit a bug at
http://bugs.adobe.com/flex and post the bug number, please?

Thanks,
Gaurav

-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of lytvynyuk
Sent: Thursday, March 06, 2008 9:05 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Memory allocations problems when intensively using
charts and modules

I having really serious troubles with my application when using
charts. My application collects lots of data in pseudo realtime (poll
for data every 5 sec) and display charts and graphs. Everything works
fine but with time memory allocated by Firefox process getting
enormous and Firefox eventually dying. When I used profiler to see
memory allocation, I noticed that I have megabytes of UTextField
objects allocated, also ChartLabels. Definitely all these object
wasn't GCed properly!

Another problem loading and unloading modules. After each load Firefox
allocates another 4-8M of memory and never comes back, even if I do
unload ! But in same time profiles shows 0 instances of modules which
was loaded. Whats is going on there?

Just to be clear:

I always do destroy event listeners, do not use static classes, always
cleaning up arrays via ramoveAll(); I assign modules instances ans
well as arrays to NULL when they not needed.

What else I need to do?



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



Reply via email to