CPU over 100% - Multiple Operating systems

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
MacschedStudentX
Newbie
Posts: 5
Joined: Fri Nov 09, 2012 5:17 pm

CPU over 100% - Multiple Operating systems

Post by MacschedStudentX » Sun Nov 11, 2012 3:36 am

Hey guys I have a problem with CPU load - I am running MSCHED 7.4

every time I run this one module of code (about 100 lines from label start to label end) the CPU goes over 100%.

If I put a MessageModal - it drops to under 10%.

I even tried different operating systems - same result

In desperation I placed a wait>0.5 under every line of code - no change

I also tried it with and without logging - no difference

It does not seem to matter what I am doing it simply - jumps. I tried tracking it down - and unfortunately I am not at liberty to upload the code.

Any suggestions would be great.

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

Post by Marcus Tettmar » Sun Nov 11, 2012 5:43 pm

You haven't provided your code. It wouldn't be a loop by any chance:

http://www.mjtnet.com/blog/2006/04/28/tight-loops/
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

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

User avatar
CyberCitizen
Automation Wizard
Posts: 724
Joined: Sun Jun 20, 2004 7:06 am
Location: Adelaide, South Australia

Post by CyberCitizen » Thu Nov 15, 2012 4:04 am

I also was going to suggest a loop, I got caught out by this once & Marcus was able to assist. If you can post your code we can have a look.
FIREFIGHTER

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