0 Replies Latest reply on Apr 8, 2007 5:09 PM by GMina

    PopUpManager Memory Leak 2.0.1

    GMina
      I recently started working on a project using Flex Builder 2.0.1. I was noticing while doing unit testing that I apparently had a memory leak. I stripped my code down to the following, and the leak persists... which pretty much tells me there is a problem with the PopUpManager.


      import mx.managers.PopUpManager;

      public function myClickHandler():void{
      var test : IFlexDisplayObject = PopUpManager.createPopUp(this,TitleWindow);
      PopUpManager.removePopUp(test);
      }


      I can click my button 100 times and the memory just goes up and up and up... doesn't appear that GC ever kicks in! What gives?

      Internet Explorer 7.0
      Flash Player 9
      Flex Builder 2.0.1
      Windows XP Pro

      Thanks,
      Geoff