PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Framework Problem with .Net app using 25% cpu

Reply

Problem with .Net app using 25% cpu

 
Thread Tools Rate Thread
Old 06-09-2005, 09:00 AM   #1
=?Utf-8?B?UnVuZSBMYW50b24=?=
Guest
 
Posts: n/a
Default Problem with .Net app using 25% cpu


Hi!

I am developing a .Net app and I have got some problems with the program
suddenly using 25% cpu... The strange thing is that my program is not doing
anything(as far as I can tell), and the UI is just as responsive as ever,
even though it's single threaded (shouldn't it get a little sluggish??),
leading me to believe the problem must lie in a thread I don't controll
(GC????) . The program will keep using 25% cpu until shutdown, when restarted
it can work satisfactory (about 1-2% cpu) for anything between 10 minutes to
10 hours before the problem reappears.

Using a process viewer I have found the faulting thread to be spending time
in
mscorwks.dll!ReleaseFusionInterface, anyone know what this is???

Any help would be greatly appreciated

Sincerley
Rune Lanton
Transportnett AS

  Reply With Quote
Old 06-09-2005, 02:31 PM   #2
Alvin Bruney - ASP.NET MVP
Guest
 
Posts: n/a
Default Re: Problem with .Net app using 25% cpu

can you reproduce this problem thru a small sample program?

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------



"Rune Lanton" <RuneLanton@discussions.microsoft.com> wrote in message
news:0E5E4B57-BB24-4D58-85C3-43C1908453BC@microsoft.com...
> Hi!
>
> I am developing a .Net app and I have got some problems with the program
> suddenly using 25% cpu... The strange thing is that my program is not

doing
> anything(as far as I can tell), and the UI is just as responsive as ever,
> even though it's single threaded (shouldn't it get a little sluggish??),
> leading me to believe the problem must lie in a thread I don't controll
> (GC????) . The program will keep using 25% cpu until shutdown, when

restarted
> it can work satisfactory (about 1-2% cpu) for anything between 10 minutes

to
> 10 hours before the problem reappears.
>
> Using a process viewer I have found the faulting thread to be spending

time
> in
> mscorwks.dll!ReleaseFusionInterface, anyone know what this is???
>
> Any help would be greatly appreciated
>
> Sincerley
> Rune Lanton
> Transportnett AS
>



  Reply With Quote
Old 06-09-2005, 03:32 PM   #3
=?Utf-8?B?UnVuZSBMYW50b24=?=
Guest
 
Posts: n/a
Default Re: Problem with .Net app using 25% cpu

Very difficult because I have absolutely no idea what causes this behavior,
it's a pretty simple, straightforward app, no threading etc. I even have
another app that is almost 99% similar, and it functions flawlessly....

"Alvin Bruney - ASP.NET MVP" wrote:

> can you reproduce this problem thru a small sample program?
>
> --
> Regards,
> Alvin Bruney [MVP ASP.NET]
>
> [Shameless Author plug]
> The Microsoft Office Web Components Black Book with .NET
> Now Available @ www.lulu.com/owc
> Forth-coming VSTO.NET - Wrox/Wiley 2006
> -------------------------------------------------------
>
>
>
> "Rune Lanton" <RuneLanton@discussions.microsoft.com> wrote in message
> news:0E5E4B57-BB24-4D58-85C3-43C1908453BC@microsoft.com...
> > Hi!
> >
> > I am developing a .Net app and I have got some problems with the program
> > suddenly using 25% cpu... The strange thing is that my program is not

> doing
> > anything(as far as I can tell), and the UI is just as responsive as ever,
> > even though it's single threaded (shouldn't it get a little sluggish??),
> > leading me to believe the problem must lie in a thread I don't controll
> > (GC????) . The program will keep using 25% cpu until shutdown, when

> restarted
> > it can work satisfactory (about 1-2% cpu) for anything between 10 minutes

> to
> > 10 hours before the problem reappears.
> >
> > Using a process viewer I have found the faulting thread to be spending

> time
> > in
> > mscorwks.dll!ReleaseFusionInterface, anyone know what this is???
> >
> > Any help would be greatly appreciated
> >
> > Sincerley
> > Rune Lanton
> > Transportnett AS
> >

>
>
>

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off