0 Replies Latest reply on Apr 23, 2010 9:51 AM by kkm19

    URLRequest - large memory normally?

    kkm19 Level 1

      hi everybody,

       

      I write a programm for gmail notification with browser on click.

      var options = new air.NativeWindowInitOptions();
      var windowBounds = new air.Rectangle(pbreit,phohe,breit,hohe);
      newHTMLLoader = air.HTMLLoader.createRootWindow(true, options, true, windowBounds);
      fenster = air.NativeApplication.nativeApplication.openedWindows[1]; //1 bedeutet fenster zweite aktivieren WICHTIG NEBEN CREATEROOTWINDOW
      fenster.menu = root; //second window add nativeMenu copy root
      newHTMLLoader.userAgent = "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.13 (KHTML, like Gecko) Chrome/0.X.Y.Z Safari/525.13"; //damit nicht basic HTML
      newHTMLLoader.load(new air.URLRequest(adresse));
      

      if run takes over 100MB, is that normall or which should I set for reduce memory?

       

      please answer. thanks support