flex-users / flexlib

Open Source Flex components library.
github.com/flex-users/flexlib
MIT License
206 stars 88 forks source link

Closing a mdiWindow raises memory usage instead of lowering it #300

Open nicoulaj opened 13 years ago

nicoulaj commented 13 years ago

Originally filed by paolo.ru...@gmail.com on 2010-04-29T15:11:13

What steps will reproduce the problem?

  1. do some kind of memory monitoring (via as or profiling)
  2. keep an eye on the memory chart while closing a window

What is the expected output? What do you see instead? Every instance/listener should be released, while instances of mdiWindows remain and if you open->close->open->close the same window more than once you can clearly see in the profiler all the old instances, that won't be garbage collected

What version of the product are you using? On what operating system? latest, winXP, jbossEAP seam, flamingo 1.8

Please provide any additional information below.

I did a couple of "module" flex application, and a simple menu to let the user open these modules dynamically (a customModuleLoader) into a mdiWindow. Nothing gets disposed. No matter if I remove the module-loading related stuff, mdiWindow instances never gets collected or really disposed. The strange thing is the memory consumption raising high when you close a win.

nicoulaj commented 13 years ago

Updated by KoldFu...@gmail.com on 2010-09-29T16:10:08

I also experience this same exact issue. There are some memory issues with MDI for certain

nicoulaj commented 13 years ago

Updated by IvanHa...@gmail.com on 2010-11-25T18:54:37

I have the same problem.

nicoulaj commented 13 years ago

Updated by ric.rodr...@gmail.com on 2010-11-26T08:54:33

Same here.. any feedback on this?