[CLOSED] Loader with Html renderer and Window rendering

Page 2 of 4 FirstFirst 1234 LastLast
  1. #11
    Yes, I have static id's. And CloseAction="Destroy". I think something else is holding a reference (event handler maybe?) that is preventing it from being disposed.
  2. #12
    Please post responses of initially partial view request and after refresh. I will review.
  3. #13
    Hmmm I'd's are different..


    {script:"Ext.net.ResourceMgr.destroyCmp(\"App.idd5e55980b0f31609_UC_windowPreview\");Ext.create(\"Ext.window.Window\"
    
    ...
    }

    {script:"Ext.net.ResourceMgr.destroyCmp(\"App.idc030a3b9db63a8e1_UC_windowPreview\");Ext.create(\"Ext.window.Window\",....
    But I have

     <extnet idMode="Static" ...
    in my web.config
  4. #14
    With IDMode="Static" set explicitly on the control the responses are:

    {script:"Ext.net.ResourceMgr.destroyCmp(\"App.windowPreview\");Ext.create(\"Ext.window.Window\",{id:\"windowPreview\",height:650...
    script:"Ext.net.ResourceMgr.destroyCmp(\"App.windowPreview\");Ext.create(\"Ext.window.Window\",{id:\"windowPreview\",height:650...
    Heap Profile (GC done before snapshot taken) ...

    Baseline - 12.21MB
    View 1 - 13.34MB
    Close - 13.22MB
    View 2 - 13.87MB
    Close - 13.72MB
    View 3 - 14.35MB
    Close - 14.21MB
  5. #15
    Currently, PartialViewResult doesn't read idMode from Web.config. We will review this behavior soon.

    There is the IDMode property of PartialViewResult you could set up to Static. But it appears to be not working at the moment. Probably, a bug.

    So, the single way at the moment is setting up
    IDMode="Static"
    for the Panel in the partial view.
  6. #16
    Quote Originally Posted by paulc View Post
    With IDMode="Static" set explicitly on the control the responses are:

    {script:"Ext.net.ResourceMgr.destroyCmp(\"App.windowPreview\");Ext.create(\"Ext.window.Window\",{id:\"windowPreview\",height:650...
    script:"Ext.net.ResourceMgr.destroyCmp(\"App.windowPreview\");Ext.create(\"Ext.window.Window\",{id:\"windowPreview\",height:650...
    Heap Profile (GC done before snapshot taken) ...

    Baseline - 12.21MB
    View 1 - 13.34MB
    Close - 13.22MB
    View 2 - 13.87MB
    Close - 13.72MB
    View 3 - 14.35MB
    Close - 14.21MB
    Could you please provide exactly the code you are testing with?
  7. #17
    Hi, Danill. I can't post the code to the public forum but I could e-mail instead if that's possible.
  8. #18
    We would prefer to avoid looking on the private code even via our e-mails.

    I had assumed you are working with a simple example like this one I have posted before:
    http://forums.ext.net/showthread.php...ll=1#post82150

    Can you reproduce memory leaking with a simple example?

    We would really appreciate if you could post a simplified example to reproduce the problem.

    The following
    Ext.net.ResourceMgr.destroyCmp(\"App.windowPreview\");
    destroys a Window for sure. But I know nothing about its content which might be not destroyed automatically.

    Heap Profile (GC done before snapshot taken) ...
    Please clarify does the tool force GC before snapshot? Or do you somehow force it manually? What the tool do you use?

    Can we 100% sure GC is 100% done before snapshot?
  9. #19
    Hi, I'll put together an example but it may not be till Monday now. I'm using the Chrome developer tools and the heap snapshot profiler. I'm pretty sure this invokes a GC before taking the snapshot.
  10. #20
    Heap Profile (GC done before snapshot taken) ...

    Baseline - 12.21MB
    View 1 - 13.34MB
    Close - 13.22MB
    View 2 - 13.87MB
    Close - 13.72MB
    View 3 - 14.35MB
    Close - 14.21MB
    Is it memory of your web application? I am not sure that it is related with Ext.Net, we don't use any unmanage resources therefore we almost cannot affect on memory leaking (atleast, as I know .NET memory managment). But I can wrong
Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. [CLOSED] ext:Window Loader Autosize
    By supera in forum 2.x Legacy Premium Help
    Replies: 9
    Last Post: Sep 05, 2016, 7:07 PM
  2. Replies: 5
    Last Post: May 18, 2012, 1:41 PM
  3. [CLOSED] Rendering html in a user control
    By fordprefect in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Mar 14, 2012, 7:42 PM
  4. [CLOSED] Getting the parameter defined in ext:Window Loader
    By supera in forum 2.x Legacy Premium Help
    Replies: 5
    Last Post: Feb 17, 2012, 1:27 PM
  5. Replies: 1
    Last Post: May 28, 2010, 1:13 PM

Tags for this Thread

Posting Permissions