|
-
Apr 11th, 2011, 09:00 PM
#1
Thread Starter
Member
[RESOLVED] High CPU usage
Hi guys,
I am programmer of a project (VB6), my program reads lots of data from a big text file, parse the information and start some mathematics calculation on every single line of the data.
Anyway, a run of my program takes like 10minutes and every second a calculation is being applied, so while my program is running the CPU usage is always up to 50% so causes my Windows XP to malfunction and slow down. Is there anyway to reduce the CPU usage? I am using DoEvents after each reading and parsing of the data and also after each calculation.
Any hints used to solve this kind of problem is appreciated guys.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|