473,795 Members | 2,863 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

CPU Utilization ? Very High Very Little Activity

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
May 12 '06 #1
2 1495
Glenn Thomson wrote:
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

How much memory does your machine have? How much virtual memory?
Check in the task manager what task is consuming the CPU.

May 15 '06 #2
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:
Glenn Thomson wrote:
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

How much memory does your machine have? How much virtual memory?
Check in the task manager what task is consuming the CPU.

May 15 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2299
by: Patrick Moore | last post by:
We have a SQL 7.0 Standard Server running on a Windows 2000 Server machine with 2 800mhz Pentium III with 2GB memory. Our front end is Access 97 and 2000 with most ADO connections for the scripts but some DAO for forms and reports. We recently "released" a new version of the "database" that caused a catastrophic event to start happening with our SQL server. Using PerfMon we monitored the CPU utilization on the server and noticed that...
3
3761
by: Dathon | last post by:
I have a Windows service that's built with .NET. The process is meant to run in the background and not suck up too much CPU time. I set the thread priority for the various threads in the service to Below Normal, but I'm still getting reports that the service is making a noticable impact on overall machine performance. I stuck some Thread.Sleep calls in a various places in the code, but that doesn't help much, since the service makes...
5
15213
by: mcollier | last post by:
I am experiencing high CPU utilization with my ASP.NET application. The w3wp.exe process uses 75%-80% CPU for about 10 seconds. I notice this when the application first starts up, which I can partially understand since ASP.NET compiles the application on the first access. However, I also notice the high CPU usage by w3wp.exe after long periods of inactivity. For example, if I stop using the site for 30 minutes, and then come back to the...
1
3339
by: Pawan.Ghildiyal | last post by:
Hi everybody As we know that replication process uses 3 threads- 1. Master thread (Binlog Dump) 2. I/O thread 3. Sql Thread Now I have some confusion regarding these thing -- - In peek hours what will be the cpu and memory utilization of these threads
2
2058
by: Jakub Cermak | last post by:
Hi, how can I determine how much % of CPU is my process using? Something like CPU column in process list in task manager. I wanna to make an "guard thread" for detecting too high CPU utilization (because of infinite loops and other bugs). -- Best regards, Jakub Cermak ICQ 159971304
2
1845
by: dm3281 | last post by:
Hello, all. I have 4 web servers in a farm using network load balancing service. All the web applications (there are about 50+ per server) are using ASP.NET 1.1. I have two apppools setup with most of our apps in a custom app pool to recycle memory every 800MB.
11
3478
by: Ajith Menon | last post by:
I have created a windows application in which the form needs to be resized on the MouseMove event. The windows resize function takes a lot of CPU cycles. And as the resize function is called on the MouseMove, the form is resized around a 30-100 times in one second. This leads to a high CPU utilization and all other application comes to a stand still. The form does not have any controls i.e. buttons, text boxes etc. It is completely...
0
1617
by: spider007 | last post by:
i want to find out the CPU Utilization per application in my DB. The problem is that we have OLTP and DSS transactions happening on the same server and we are not able to convince the client that the CPU utilization is going high because of the DSS queries. If somehow i could get the queries which are fired and the cpu utilization taken by these queries, then i would be able to convince them. I dont know which would be the best way to trap this,...
0
9522
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10216
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10165
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9044
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7543
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6783
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4113
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3728
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2921
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.