Results 1 to 10 of 11

Hybrid View

  1. #1
    Member
    Join Date
    Nov 2008
    Location
    Boston
    Posts
    24
    Hi Alessandro,

    That's good to know. Thanks so much.

    Richard

  2. #2
    Member
    Join Date
    Nov 2008
    Location
    Boston
    Posts
    24
    Hi Alessandro,

    We are still seeing severe memory issue with our web app. If we left our app running for 24 hours, the browser (FF and IE) memory usage goes up to 1.2 GB.

    To debug the memory issue, I made a few simplification to our app.

    1. The LS server pushes out 200K data per second. This exacerbates the memory issue and make it more visible quicker.
    2. The web app only receives the data, but not consume the data. I set table.onItemUpdate to an empty function that does nothing. This eliminates the possibility of other parts of the web app keeping references to the streamed data.

    After running Firefox 3 for 30 minutes, the browser memory usage goes from 300MB to 700MB. I do have Firebug installed on the Firefox. I'm going to try IE to see how much memory it consumes.

    Can you please help?

    Thanks,
    Richard

  3. #3
    Administrator
    Join Date
    Jul 2006
    Location
    Milan, Italy
    Posts
    521
    Hi Richard,

    It is important to see what happens with that test case with Firebug disabled or on IE.
    Please, let us know.

    Also, may you provide us with your test code or environment, so that we can try to replicate it?

    Cheers
    Alessandro

  4. #4
    Member
    Join Date
    Nov 2008
    Location
    Boston
    Posts
    24
    Hi Alessandro,

    My IE test shows that the browser memory does not increase over time. After I disabled Firebug, Firefox memory does not increase dramatically either.

    It seems Firebug does cause serious memory leak on Firefox. I think I would show a popup to ask users to disable Firebug if the Javascript detects user's browser has Firebug installed.

    Thanks,
    Richard

  5. #5
    Administrator
    Join Date
    Jul 2006
    Location
    Milan, Italy
    Posts
    521
    Richard,

    Thanks for confirming this.

    In the next version of the Lightstreamer Web Client library, we will detect and warn about the presence of Firebug too.

    Cheers,

    Alessandro

 

 

Similar Threads

  1. Memory Leaks
    By igindex in forum Client SDKs
    Replies: 1
    Last Post: November 11th, 2006, 09:45 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 12:04 AM.