CPU 100% MS not responding

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
Robbyn
Junior Coder
Posts: 43
Joined: Tue Feb 15, 2005 9:55 pm

CPU 100% MS not responding

Post by Robbyn » Sun Jan 08, 2006 10:52 pm

First I put a .5 wait into the loop then 1. It is making no difference. For this script I am getting CPU 100% MS not responding. I have tested the same script on a small amount of data and it is not crashing. What should I do?
Robin

User avatar
Marcus Tettmar
Site Admin
Posts: 7393
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Sun Jan 08, 2006 11:00 pm

Please post your code. I'm not psychic unfortunately ;-)
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

armsys
Automation Wizard
Posts: 1108
Joined: Wed Dec 04, 2002 10:28 am
Location: Hong Kong

Post by armsys » Mon Jan 09, 2006 12:27 am

Robbyn,

First of all, there could be a lot of factors, not necessarily soley caused by Macro Scheduler.

Amongst others, for example, MS could wait for a window such as Outlook's Business Contact Manager ("BCM"). In this case, who's faulty? It could be the BCM's SQL engine. It could be Windows XP's security setting. It could be network protocol issues. There are literally hundreds of probable cause.

One thing for sure, Macro Scheduler does use some CPU time, now and then, less than 2 to 3%, significally far less than Windows Explorer.

To begin with, your Macro Scheduler script would be helpful for everyone to help you.

Happy scripting.

Robbyn
Junior Coder
Posts: 43
Joined: Tue Feb 15, 2005 9:55 pm

Post by Robbyn » Mon Jan 09, 2006 6:52 pm

Thank you for your helpful reply. In this instance I have written direct to Marcus with the code. He will probably report back that I have made some error, we shall see.
Robin

User avatar
pgriffin
Automation Wizard
Posts: 460
Joined: Wed Apr 06, 2005 5:56 pm
Location: US and Europe

Post by pgriffin » Tue Jan 10, 2006 2:12 pm

Please keep all posts on the forum so that we can all benefit from them. I can't read valuable information that you may have sent "direct to marcus"...

User avatar
Marcus Tettmar
Site Admin
Posts: 7393
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Tue Jan 10, 2006 2:26 pm

In this case there was no issue with the script code or with Macro Scheduler. The issue is surrounding the use of a third party DLL which is being used to extract text from a PDF file. I have provided a wrapper for this DLL to see if it makes any difference but I suspect the problem is simply that the text being copied from the PDF is too large.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts