Connecting Tech Pros Worldwide Forums | Help | Site Map

CPU Utilization ? Very High Very Little Activity

Glenn Thomson
Guest
 
Posts: n/a
#1: May 13 '06
Hello:
Use C# 2003 .Net Frameworks 1.1 SP1, OleDbConnection
I open an Access data using a class (dataset has many pictures in it) and
scroll back an forth using the four arrow keys. Recs displayed on screen, a
short
time after CPU utilization moves up(according to Taskmgr), it stays at the
new rate for a while, you scroll more it moves up more and stays a new higher
value, after a few minutes of scrolling it will peg at 99%. Even if pictures
are not displayed but just text info this still happens. The program has
whatever
the default threading is for C#(I do not define any threads).

What could cause this ?

Glenn

intrader
Guest
 
Posts: n/a
#2: May 15 '06

re: CPU Utilization ? Very High Very Little Activity


Glenn Thomson wrote:
[color=blue]
> Hello:
> Use C# 2003 .Net Frameworks 1.1 SP1, OleDbConnection
> I open an Access data using a class (dataset has many pictures in it) and
> scroll back an forth using the four arrow keys. Recs displayed on screen,
> a short
> time after CPU utilization moves up(according to Taskmgr), it stays at the
> new rate for a while, you scroll more it moves up more and stays a new
> higher value, after a few minutes of scrolling it will peg at 99%. Even if
> pictures are not displayed but just text info this still happens. The
> program has whatever
> the default threading is for C#(I do not define any threads).
>
> What could cause this ?
>
> Glenn[/color]
How much memory does your machine have? How much virtual memory?
Check in the task manager what task is consuming the CPU.

Glenn Thomson
Guest
 
Posts: n/a
#3: May 15 '06

re: CPU Utilization ? Very High Very Little Activity


The task I have written in C# is consuming the CPU, the machine has 1G Ram/
Windows XP. Somehow the more you hold down the scroll arrows the more cpu
is uses but never releases the Cpu usage.

"intrader" wrote:
[color=blue]
> Glenn Thomson wrote:
>[color=green]
> > Hello:
> > Use C# 2003 .Net Frameworks 1.1 SP1, OleDbConnection
> > I open an Access data using a class (dataset has many pictures in it) and
> > scroll back an forth using the four arrow keys. Recs displayed on screen,
> > a short
> > time after CPU utilization moves up(according to Taskmgr), it stays at the
> > new rate for a while, you scroll more it moves up more and stays a new
> > higher value, after a few minutes of scrolling it will peg at 99%. Even if
> > pictures are not displayed but just text info this still happens. The
> > program has whatever
> > the default threading is for C#(I do not define any threads).
> >
> > What could cause this ?
> >
> > Glenn[/color]
> How much memory does your machine have? How much virtual memory?
> Check in the task manager what task is consuming the CPU.
>
>[/color]
Closed Thread


Similar C# / C Sharp bytes