skidrow406 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
Mone 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?
skidrow406 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 :Smile_Ac: 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!
skidrow406 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
Mone 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)?