I have a client who's VW normally takes about 3 seconds to start and show
its first small window. Running from Windows-XP SP2, VW 7.4 However, after being logged off for a time it takes about 2 minutes. My first thoughts were - disks turned off - lots of other non-VW things running occupying memory but this does not appear to be the case. Here are some details - the saved image has a single minimized window - on startup the window shows in the task bar after a couple of seconds - I cannot interrupt during the 2 minutes of nothing happening, cannot use ctrl/y, shift+ctrl/y or ctrl/\ - I have an optional halt at the start of any of our code that rungs, triggerred by holding SHIFT -- it kicks in AFTER the 2minutes I cannot determine what is occurring if anything during that 2min period -- anyone have any thoughts on this?? -- Dennis Smith +1 416.798.7948 Cherniak Software Development Corporation Fax: +1 416.798.0948 509-2001 Sheppard Avenue East [hidden email] Toronto, ON M2J 4Z8 sip:[hidden email] Canada http://www.CherniakSoftware.com Entrance off Yorkland Blvd south of Sheppard Ave east of the DVP |
Use a debug VM and the -o10s VM parameter, or attach a debugger when starting?
One possibility is that the app has something which tries to initialize something network-related at startup, and that has problems with name resolution. We had a similar problem with VW SOAP earlier (although I didn't notice if the startup was quicker later in the day), but that was fixed in 7.3.1 (AR 48892: [core] consider lazy initialization of GenericProtocol class>>hostAddress). HTH, Steve > -----Original Message----- > From: Dennis Smith [mailto:[hidden email]] > Sent: 11. kesäkuuta 2007 14:04 > To: VWNC, > Subject: A Client's VW taking up to 2 minutes to start each > morning ... > > > I have a client who's VW normally takes about 3 seconds to > start and show its first small window. > > Running from Windows-XP SP2, VW 7.4 > > However, after being logged off for a time it takes about 2 > minutes. My first thoughts were > - disks turned off > - lots of other non-VW things running occupying memory > but this does not appear to be the case. > > Here are some details > - the saved image has a single minimized window > - on startup the window shows in the task bar after a > couple of seconds > - I cannot interrupt during the 2 minutes of nothing happening, > cannot use > ctrl/y, shift+ctrl/y or ctrl/\ > - I have an optional halt at the start of any of our code that > rungs, triggerred > by holding SHIFT -- it kicks in AFTER the 2minutes > > I cannot determine what is occurring if anything during that > 2min period > -- anyone > have any thoughts on this?? > > > -- > Dennis Smith +1 416.798.7948 > Cherniak Software Development Corporation Fax: +1 416.798.0948 > 509-2001 Sheppard Avenue East [hidden email] > Toronto, ON M2J 4Z8 sip:[hidden email] > Canada http://www.CherniakSoftware.com > Entrance off Yorkland Blvd south of Sheppard Ave east of the DVP > > |
In reply to this post by Dennis smith-4
Dennis Smith wrote:
> I have a client who's VW normally takes about 3 seconds to start and show > its first small window. > > Running from Windows-XP SP2, VW 7.4 > > However, after being logged off for a time it takes about 2 minutes. > My first thoughts were > - disks turned off > - lots of other non-VW things running occupying memory > but this does not appear to be the case. > > Here are some details > - the saved image has a single minimized window > - on startup the window shows in the task bar after a couple of seconds > - I cannot interrupt during the 2 minutes of nothing happening, > cannot use > ctrl/y, shift+ctrl/y or ctrl/\ > - I have an optional halt at the start of any of our code that rungs, > triggerred > by holding SHIFT -- it kicks in AFTER the 2minutes > > I cannot determine what is occurring if anything during that 2min period > -- anyone > have any thoughts on this?? > bin\win\debug\vwnt -o10s image\visual.im you get a list of all methods in the order they are processed by the JIT-compiler. This way you can see when the two minutes of nothing happen. HTH Ralf Propach -- Ralf Propach, [hidden email] Tel: +49 231 975 99 38 Fax: +49 231 975 99 20 Georg Heeg eK (Dortmund) Handelsregister: Amtsgericht Dortmund A 12812 |
That worked nicely -- but there was so much happening that it all
scrolled off the little window.
Is there a way to capture the text in a file??? Ralf Propach wrote: Dennis Smith wrote:I have a client who's VW normally takes about 3 seconds to start and show its first small window. Running from Windows-XP SP2, VW 7.4 However, after being logged off for a time it takes about 2 minutes. My first thoughts were - disks turned off - lots of other non-VW things running occupying memory but this does not appear to be the case. Here are some details - the saved image has a single minimized window - on startup the window shows in the task bar after a couple of seconds - I cannot interrupt during the 2 minutes of nothing happening, cannot use ctrl/y, shift+ctrl/y or ctrl/\ - I have an optional halt at the start of any of our code that rungs, triggerred by holding SHIFT -- it kicks in AFTER the 2minutes I cannot determine what is occurring if anything during that 2min period -- anyone have any thoughts on this??If you start it with a debug VM with the -o10s option like this bin\win\debug\vwnt -o10s image\visual.im you get a list of all methods in the order they are processed by the JIT-compiler. This way you can see when the two minutes of nothing happen. HTH Ralf Propach -- Dennis Smith +1 416.798.7948 Cherniak Software Development Corporation Fax: +1 416.798.0948 509-2001 Sheppard Avenue East [hidden email] Toronto, ON M2J 4Z8 [hidden email] Canada http://www.CherniakSoftware.com Entrance off Yorkland Blvd south of Sheppard Ave east of the DVP |
Dennis Smith wrote:
> That worked nicely -- but there was so much happening that it all > scrolled off the little window. > Is there a way to capture the text in a file??? > Use the console VM: bin\win\debug\vwntconsole -o10s image\visual.im >log.txt But this way you cannot see where in the list your two minute delay happens. Ralf > >>> >>> >> If you start it with a debug VM with the -o10s option like this >> bin\win\debug\vwnt -o10s image\visual.im >> you get a list of all methods in the order they are processed by the >> JIT-compiler. >> This way you can see when the two minutes of nothing happen. >> >> HTH >> >> Ralf Propach >> >> > -- Ralf Propach, [hidden email] Tel: +49 231 975 99 38 Fax: +49 231 975 99 20 Georg Heeg eK (Dortmund) Handelsregister: Amtsgericht Dortmund A 12812 |
Ralf Propach wrote: Sounds good -- I can combine the two, figure out where, and then get the file to browse through later.Dennis Smith wrote:That worked nicely -- but there was so much happening that it all scrolled off the little window. Is there a way to capture the text in a file???Use the console VM: bin\win\debug\vwntconsole -o10s image\visual.im >log.txt But this way you cannot see where in the list your two minute delay happens. Thanks -- this will take me a day since the user seems to want to work during the day :) RalfIf you start it with a debug VM with the -o10s option like this bin\win\debug\vwnt -o10s image\visual.im you get a list of all methods in the order they are processed by the JIT-compiler. This way you can see when the two minutes of nothing happen. HTH Ralf Propach -- Dennis Smith +1 416.798.7948 Cherniak Software Development Corporation Fax: +1 416.798.0948 509-2001 Sheppard Avenue East [hidden email] Toronto, ON M2J 4Z8 [hidden email] Canada http://www.CherniakSoftware.com Entrance off Yorkland Blvd south of Sheppard Ave east of the DVP |
In reply to this post by Dennis smith-4
Dennis, |
Boris Popov wrote: Hey -- that one sounds interesting --- I will check as soon as I can get access and report back -- thanks!
-- Dennis Smith +1 416.798.7948 Cherniak Software Development Corporation Fax: +1 416.798.0948 509-2001 Sheppard Avenue East [hidden email] Toronto, ON M2J 4Z8 <a class="moz-txt-link-freetext" href="sip:dennis@CherniakSoftware.com">sip:dennis@... Canada http://www.CherniakSoftware.com Entrance off Yorkland Blvd south of Sheppard Ave east of the DVP |
In reply to this post by Dennis smith-4
Click the icon at
the top left of the command prompt window, and set the Properties | Layout |
Screen Buffer size height to 1000. You can choose whether this change is global
for all command prompts, or only for prompts running the same command - either
should work. Next time you run the test, you'll be able to scroll
back.
Steve
|
Free forum by Nabble | Edit this page |