Results 1 to 10 of 26

Hybrid View

  1. #1
    Power Member
    Join Date
    Nov 2012
    Posts
    182
    I have started logging these errors in a console (not the browser console but something in our app) with a time stamp and this is what happened:

    Code:
    An unexpected error has occurred at Mon, 10 Mar 2014 22:18:09 GMT: 
    'Error: Out of memory'
    The url is 'http://rnsdev:9081/js/lightstreamer/lightstreamer.js?v=6.00.7517'
    The line number is 657
    An unexpected error has occurred at Mon, 10 Mar 2014 22:18:14 GMT: 
    'Error: Out of memory'
    The url is 'http://rnsdev:9081/js/lightstreamer/lightstreamer.js?v=6.00.7517'
    The line number is 657
    An unexpected error has occurred at Mon, 10 Mar 2014 22:18:16 GMT: 
    'Error: Out of memory'
    The url is 'http://rnsdev:9081/js/lightstreamer/lightstreamer.js?v=6.00.7517'
    The line number is 657
    An unexpected error has occurred at Mon, 10 Mar 2014 22:18:51 GMT: 
    'Error: Out of memory'
    The url is 'http://rnsdev:9081/js/lightstreamer/lightstreamer.js?v=6.00.7517'
    The line number is 657
    An unexpected error has occurred at Mon, 10 Mar 2014 22:18:56 GMT: 
    'Error: Out of memory'
    The url is 'http://rnsdev:9081/js/lightstreamer/lightstreamer.js?v=6.00.7517'
    The line number is 657
    An unexpected error has occurred at Tue, 11 Mar 2014 09:00:08 GMT: 
    'Error: Out of memory'
    The url is 'http://rnsdev:9081/js/lightstreamer/lightstreamer.js?v=6.00.7517'
    The line number is 691
    So the out of memory errors started at 22:18 - which is NOT when the server is down. It is still active at this time - so I have given you a bum steer there. It then happens a few times more, then stops until I interact with the browser again at 09:00. Once our client disconnects overnight, it does not attempt to reconnect until user activity is detected (mousedown, keypress etc). So I got another "Out of memory" error when I attempted to reconnect the LS client. Notice the line number for the error in the morning is different.

    Looking at the memory usage for WebKit in the resource manager and it is nothing unusual at all.

    The Safari Console shows is attached, reporting a problem with bind_session.js just before the "Out of memory" issue.

    The browser itself is not behaving very well now I have this error condition. It is not even rendering properly.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	safari_error.jpg 
Views:	794 
Size:	48.8 KB 
ID:	156  

  2. #2
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    The error on the bind_session is related to the <cross_domain_policy> configuration on the server: since the client was working before I suspect that the server is actually correctly configured and thus that error can't be explained.

    Try upgrading the client lib to 6.1. I don't think there is anything that could solve the issue there though

    Try keeping the client disconnected

    Try reducing the size of the bind_session request by modifying the <content_length> element in the server configuration or by manually switching safari to polling. Given the situation this is currently my best bet.

    I would take a look to a memory profile, but unfortunately that version of Safari does not yet have a memory profiler.

    On my side I didn't reproduce the OOM but I got an unresponsive Safari after a night of DISCONNECTED:WILL-RETRY (I had the log enabled though, my bad).
    I'll try to dig deeper, but it may take a while because I'm leaving for a short vacation.

    HTH

  3. #3
    Power Member
    Join Date
    Nov 2012
    Posts
    182
    Quote Originally Posted by Mone View Post
    Try reducing the size of the bind_session request by modifying the <content_length> element in the server configuration or by manually switching safari to polling. Given the situation this is currently my best bet.
    I think I need an idiots guide here

 

 

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:02 AM.