0 Replies Latest reply on Nov 15, 2007 12:37 AM by ilya.devel

    Memory leeks using containers

      i wrote a simple window manager inside flex. window instances are similar to TitleWindow. every window can be injected with content widget as Container.
      i populate and close windows with the same content in the same manner, BUT nот аll are garbage collected. ~20% stay loitering after force gc call
      var lc1:LocalConnection = new LocalConnection();
      var lc2:LocalConnection = new LocalConnection();
      }catch (e:Error) {}

      if i have obvious memory leek, i expect %100 not gc collected.

      is this really memory leaking and what may be a cause or is it just gc strategy?
      why 80% gc collected and 20% not?