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.
CPU over 100% - Multiple Operating systems
Moderators: JRL, Dorian (MJT support)
-
- Newbie
- Posts: 5
- Joined: Fri Nov 09, 2012 5:17 pm
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
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/
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?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
- CyberCitizen
- Automation Wizard
- Posts: 724
- Joined: Sun Jun 20, 2004 7:06 am
- Location: Adelaide, South Australia