Hi!
While working in c# after say 10 minutes , the CPU usage increases to 100%
and the framework ide hangs for a couple of minutes.
The CPU usage touches hundred as soon as I switch between Design view and
code view.
I have Win XP SP2.
Any solutions? 6 2209
Hi,
What kind of machine you have?
cheers,
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"John" <jo**********@h otmail.com> wrote in message
news:uz******** ******@tk2msftn gp13.phx.gbl... Hi! While working in c# after say 10 minutes , the CPU usage increases to 100% and the framework ide hangs for a couple of minutes. The CPU usage touches hundred as soon as I switch between Design view and code view. I have Win XP SP2.
Any solutions?
"Ignacio Machin ( .NET/ C# MVP )" <ignacio.mach in AT dot.state.fl.us > wrote
in message news:Oi******** ******@TK2MSFTN GP14.phx.gbl... Hi,
What kind of machine you have?
I have Pentuim 4 CPU 1.8 GHz
512 MB Ram
cheers,
-- Ignacio Machin, ignacio.machin AT dot.state.fl.us Florida Department Of Transportation "John" <jo**********@h otmail.com> wrote in message news:uz******** ******@tk2msftn gp13.phx.gbl... Hi! While working in c# after say 10 minutes , the CPU usage increases to 100% and the framework ide hangs for a couple of minutes. The CPU usage touches hundred as soon as I switch between Design view and code view. I have Win XP SP2.
Any solutions?
Using VS.Net 2003, or 2005 Beta?
Are you switching between the Winform Designer and the code view?
Are you using any 3-rd party controls? How about in-house controls?
A control on a Winform is "live" at design time, it could be that some code
in one of the controls is suspect. If you have any suspect controls, try
removing them one, by one, from the form until the problem goes away.
"John" <jo**********@h otmail.com> wrote in message
news:uz******** ******@tk2msftn gp13.phx.gbl... Hi! While working in c# after say 10 minutes , the CPU usage increases to 100% and the framework ide hangs for a couple of minutes. The CPU usage touches hundred as soon as I switch between Design view and code view. I have Win XP SP2.
Any solutions?
"J.Marsch" <jm*****@newsgr oup.nospam> wrote in message
news:Op******** *****@TK2MSFTNG P15.phx.gbl... Using VS.Net 2003, or 2005 Beta?
I am using VS.Net 2003 Are you switching between the Winform Designer and the code view?
Yes I am doing exactly the same Are you using any 3-rd party controls? How about in-house controls?
No no third party tools.
Any suggestions A control on a Winform is "live" at design time, it could be that some code in one of the controls is suspect. If you have any suspect controls, try removing them one, by one, from the form until the problem goes away.
"John" <jo**********@h otmail.com> wrote in message news:uz******** ******@tk2msftn gp13.phx.gbl... Hi! While working in c# after say 10 minutes , the CPU usage increases to 100% and the framework ide hangs for a couple of minutes. The CPU usage touches hundred as soon as I switch between Design view and code view. I have Win XP SP2.
Any solutions?
It still sounds like it could be a control that is misbehaving. Does this
happen with any form, or is it a specific form in your project (or maybe a
specific group of forms that share something in common?).
"John" <jo**********@h otmail.com> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. .. "J.Marsch" <jm*****@newsgr oup.nospam> wrote in message news:Op******** *****@TK2MSFTNG P15.phx.gbl... Using VS.Net 2003, or 2005 Beta? I am using VS.Net 2003 Are you switching between the Winform Designer and the code view?
Yes I am doing exactly the same Are you using any 3-rd party controls? How about in-house controls?
No no third party tools.
Any suggestions A control on a Winform is "live" at design time, it could be that some code in one of the controls is suspect. If you have any suspect controls, try removing them one, by one, from the form until the problem goes away.
"John" <jo**********@h otmail.com> wrote in message news:uz******** ******@tk2msftn gp13.phx.gbl... Hi! While working in c# after say 10 minutes , the CPU usage increases to 100% and the framework ide hangs for a couple of minutes. The CPU usage touches hundred as soon as I switch between Design view and code view. I have Win XP SP2.
Any solutions?
"J.Marsch" <jm*****@newsgr oup.nospam> wrote in message
news:Oi******** *****@TK2MSFTNG P15.phx.gbl... It still sounds like it could be a control that is misbehaving. Does this happen with any form, or is it a specific form in your project (or maybe a specific group of forms that share something in common?).
May be thats true but very difficult to find out though
Thsnks any way "John" <jo**********@h otmail.com> wrote in message news:%2******** ********@tk2msf tngp13.phx.gbl. .. "J.Marsch" <jm*****@newsgr oup.nospam> wrote in message news:Op******** *****@TK2MSFTNG P15.phx.gbl... Using VS.Net 2003, or 2005 Beta? I am using VS.Net 2003 Are you switching between the Winform Designer and the code view?
Yes I am doing exactly the same Are you using any 3-rd party controls? How about in-house controls?
No no third party tools.
Any suggestions A control on a Winform is "live" at design time, it could be that some code in one of the controls is suspect. If you have any suspect controls, try removing them one, by one, from the form until the problem goes away.
"John" <jo**********@h otmail.com> wrote in message news:uz******** ******@tk2msftn gp13.phx.gbl... Hi! While working in c# after say 10 minutes , the CPU usage increases to 100% and the framework ide hangs for a couple of minutes. The CPU usage touches hundred as soon as I switch between Design view and code view. I have Win XP SP2.
Any solutions?
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Jeff Mitchell |
last post by:
I have a logging application that records various performance metrics into a database every 5 minutes, and to this I'd like to add a performace counter that shows the processor usage in a manner akin to what you see in the Performance tab of the Task Manager -- whatever that value is when the timer fires is what I want to record
I'm using System.Diagnostics.PerformanceCounter with the "% Processor Time" counter, but I'm having a problem. The...
|
by: Dirk Reske |
last post by:
Hello,
why doesn't this code work correctly?
private int GetCpuUsage(Process proc)
{
DateTime time1,time2;
TimeSpan timediff;
double cpu1,cpu2,cpudiff;
|
by: wushupork |
last post by:
I have written a screensaver application in C# .NET and have noticed
that whenever the animation loop is running - CPU usage always spikes
up close to 100%. My application uses a paint thread which is set at
100ms.
the program looks sort of like this:
// constructor
public Form1()
{
|
by: David Schwartz |
last post by:
When I run my VB.NET Windows Forms application, the CPU usage jumps up to
100%. If I drop-down a menu, the usage goes down to a more reasonable
number, like 0-2%. The same is true when a MsgBox comes up.
Has anyone else noticed or experienced this? Why would this be? Is this
the norm for VB.NET apps?
Thanks in advance.
|
by: Tim T. |
last post by:
I'm currently working on a report to forecast production for finished goods.
The user can select one or more items to forecast. In addition, they may
select one or more warehouses to view breakdowns for as well as one or more
customers.
Now, the report iterates through the selected items in the finished good
listbox. For each item that it comes across, it calls 4 routines to gather
various totals. Each routine will gather a total for...
| |
by: Paul |
last post by:
Hi
I am having a real issue with CPU usage by SQL Server, and it is not
related to a poor query.
I have a clients database that I am currently investigating some issues
with. After I perform a standard task using the application, and the
results have been returned to the application the cpu usage remains at
100%.
|
by: Paul |
last post by:
Hi all
Please read my previous post here if this interests you:
http://groups.google.co.uk/group/comp.databases.ms-sqlserver/browse_frm/thread/d5b12d2dadd16465?page=end&q=100%25+cpu+usage&hl=en&
I have (or rather a colleague has) found the situation that appears to
be causing this problem but I am still no further to finding a
solution.
|
by: rdemyan via AccessMonster.com |
last post by:
My app contains utility meter usage. One of the things we have to deal with
is when a usage is clearly incorrect. Perhaps someone wrote the meter
reading down incorrectly or made a factor of 10 error when entering the
reading, etc. At other times the usage is zero or somehow was entered as a
negative number.
So I'm thinking about adding functionality to search for such anomalies. For
instance, show months where the meter reading is...
|
by: Sirisha |
last post by:
I am using the following code to get the CPU usage
PerformanceCounter myCounter;
myCounter = new PerformanceCounter();
myCounter.CategoryName = "Processor";
myCounter.CounterName = "% Processor Time";
myCounter.InstanceName = "_Total";
for(int i=0; i < 20; i++)
|
by: Frank Rizzo |
last post by:
Hello,
I've compiled my app for AnyCPU setting in vs2005. Then I tried the app
on both 32-bit Windows 2003 R2 and 64-bit Windows 2003 R2. The memory
usage of the application when working on the same data set were
unbelievable (the data is from Task Manager) :
32-bit Windows 2003 R2
Mem Usage: 481,400k
Peak Mem: 583,020k
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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,...
|
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...
|
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,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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...
|
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...
| |
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
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...
| |