Memory usage for Cute Editor

Last post 05-04-2009, 4:16 PM by huythan. 3 replies.
Sort Posts: Previous Next
  •  04-30-2009, 4:34 PM 51725

    Memory usage for Cute Editor

    I'm using ShowDialog to open the new window, in that window I have Cute Editor. The more windows I open the more memory consumed for the browser's process.
    The problem is, after I close that window the memory doesn't release. I need to close all of the browser to release memory.
     
    How can I release memory when closing the window ? 
  •  04-30-2009, 8:21 PM 51729 in reply to 51725

    Re: Memory usage for Cute Editor

    Hi,
     
    What is 'ShowDialog' mean ?
     
    Do you use window.open or other way to show the editor ?
     
    Regards,
    Terry
     
  •  05-01-2009, 4:00 PM 51752 in reply to 51729

    Re: Memory usage for Cute Editor

    That is a javascript function from Cute Editor
    In CuteSoft_Client\CuteEditor\Scripts\IE_Implementation\CuteEditorImplementation.js
     
    function ShowDialog(handler,url,args,feature)
    {
     var win=_dialogWindow||window;
     _dialogWindow=null;
     return Window_ShowDialog(win,handler,url,args,feature);
    }
     
    function Window_ShowDialog(win,handler,url,args,feature)
    {
     var res=win.showModalDialog(url,args,feature);
     if(handler)
     {
      win.setTimeout(function CallHandler(){
       //alert(handler);
       handler(res);
      },1);
     }
     return;
    }
  •  05-04-2009, 4:16 PM 51802 in reply to 51752

    Re: Memory usage for Cute Editor

    Do you have any idea ?
View as RSS news feed in XML