Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Nov 2007
    Location
    VN
    Posts
    12

    Suspend when close IE

    when I close IE, running LS stock quotes, IE suspends and no resonpse in about more 5s
    help me, what event occurs when I close IE ?
    very thanks

  2. #2
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    Hi,

    We've never seen nothing like this.
    With "LS stock quotes" are you referring to our StockListDemo? Did you change it?
    On which IE version does it happen? Do you have any addons/toolbars on your IE?

  3. #3
    Member
    Join Date
    Nov 2007
    Location
    VN
    Posts
    12

    Angry help me, CPU of client too high

    yes, I used "StockListDemo"
    I tested on client with info
    Windows 2003
    IE 7
    No toolbar or addon

    -------------------------
    I modified StockListDemo (C# 2005) => remove class ExternalFeedProducer (cause if each small class that create 1 connection to database or read file => use more resource of server, so I keep only ExternalFeedProducer )
    and set main loop in class ExternalFeedSimulator

    ExternalFeedSimulator => 2 threads
    1 thread GetData => select data from database => add to queue
    1 thread Run => main loop => wait item in queue => objListener.OnEvent ...

    When I closed IE,it suspend long time like the first time I load page
    maybe the connection to database in progress?
    When close IE, Unsubscribe event occurs ?
    have a other way to reduce CPU usage in client?

    thanks a lot!

  4. #4
    Member
    Join Date
    Nov 2007
    Location
    VN
    Posts
    12
    maybe I about to find the solution.
    if I subcribe only 5 items, time to load first time and close IE very fast
    if I subcribe 200 items, time to load first time and close IE very long >> suspend
    Could you show me how config to update only 5 items per interval ?
    thanks

  5. #5
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    Hello,

    Could you show me how config to update only 5 items per interval ?
    What do you mean? Do you want to filter the updates (e.g. frequency filter)?

 

 

Similar Threads

  1. Browser close event
    By pmthiagu in forum Adapter SDKs
    Replies: 3
    Last Post: April 15th, 2010, 10:58 AM
  2. How to close Session in LS?
    By spganesh in forum Client SDKs
    Replies: 1
    Last Post: February 10th, 2010, 11:23 AM
  3. How to Close Connections Properly
    By lizsedley in forum Adapter SDKs
    Replies: 1
    Last Post: September 21st, 2009, 02:32 PM
  4. OverwriteTable - Resume and Suspend Request
    By ITS in forum Client SDKs
    Replies: 1
    Last Post: April 14th, 2009, 11:07 AM

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 05:18 PM.