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?

Reply via email to