CPU使用率跃升至100% [英] CPU Usage jumps to 100%

查看:56
本文介绍了CPU使用率跃升至100%的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我运行VB.NET Windows窗体应用程序时,CPU使用率会上升到
100%。如果我下拉菜单,使用率会降低到更合理的价值,比如0-2%。当一个MsgBox出现时也是如此。


还有其他人注意到或经历过这个吗?为什么会这样?这是

VB.NET应用程序的标准吗?


提前致谢。

解决方案

这是正常的。


OHM#


David Schwartz写道:

当我跑步时我的VB.NET Windows Forms应用程序,CPU使用率高达100%。如果我下拉菜单,则使用率下降到更合理的数字,例如0-2%。当一个MsgBox出现时,情况也是如此。

有没有人注意到或经历过这个?为什么会这样?
这是VB.NET应用程序的标准吗?

提前致谢。




问候 - OHM#在********** @ BTInternet.com

实际上,你是说一旦启动应用程序继续抓住100%

,直到你导致下拉事件?,如果是这样,这是不正常的。处理

时间将在启动应用程序时达到峰值,但加载后不应保留在此

状态,除非你有一些线程运行或某些事件是

不断发射,声音恰到好处。


有一些免费的探查器工具可以帮助你在你的应用程序中找到

瓶颈。 br />
单手男[OHM#]写道:

这是正常的。

OHM#

David Schwartz写道:

当我运行VB.NET Windows窗体应用程序时,CPU使用率会高达100%。如果我下拉菜单,则使用率下降到更合理的数字,例如0-2%。当一个MsgBox出现时,情况也是如此。

有没有人注意到或经历过这个?为什么会这样?这是VB.NET应用程序的标准吗?

提前致谢。



问候 - OHM#在********** @ BTInternet.com




问候 - OHM# On**********@BTInternet.com


如果这是正常的,你会对抱怨这个的用户说什么?

谢谢。


单手人[OHM#] < te *************************** @ BTOpenworld.com>

在留言新闻中写道:%2 **************** @ TK2MSFTNGP12.phx.gbl ...

这是正常的。

OHM#

David Schwartz写道:

当我运行VB.NET Windows Forms应用程序时,CPU使用率会高达100%。如果我下拉菜单,则使用率下降到更合理的数字,例如0-2%。当一个MsgBox出现时,情况也是如此。

有没有人注意到或经历过这个?为什么会这样?这是VB.NET应用程序的标准吗?

提前致谢。



问候 - OHM#在********** @ BTInternet.com



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.

解决方案

This is normal.

OHM#

David Schwartz wrote:

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.



Regards - OHM# On**********@BTInternet.com


Actually, are you saying once started the application continues to grab 100%
until you cause a dropdown event ?, if so this is not normal. The processing
time will peak when you start the application, but should not remain in this
state after loading unless you have some thread running or some event is
continually firing which doesent sound right.

There are some free profiler tools around which can assist you in finding
bottlenecks in your application.
One Handed Man [ OHM# ] wrote:

This is normal.

OHM#

David Schwartz wrote:

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.



Regards - OHM# On**********@BTInternet.com



Regards - OHM# On**********@BTInternet.com


If this is normal, what would you say to users who complain about this?
Thanks.

"One Handed Man [ OHM# ]" <te***************************@BTOpenworld.com>
wrote in message news:%2****************@TK2MSFTNGP12.phx.gbl...

This is normal.

OHM#

David Schwartz wrote:

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.



Regards - OHM# On**********@BTInternet.com



这篇关于CPU使用率跃升至100%的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆