resource leak issues in win xp sp2 w .net 2.0

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
we are running XP SP2 with .net 2.0 framework installed we also installed a
..net application that we wrote and run it occasionally without problem.
however at some point (even with our application not running) but quite a few
other windows open our workstations seem to run out of resources. as in. we
cannot open any more windows (be it explorer windows, IE windows or any
program for that matter). or sometimes the window will "half" open (the
window will come up but say the IE tool button will be missing). now if we
close an existing window (IE, explorer window , calc and program) we can then
open another program (like a 1:1) correlation.
the other thing i noticed when i was in this state and i say tried to run a
ping using cygwin i got win32 error 1114 user32 could not be loaded.

we have seen this on 4 machines now.
any ideas?
Cheers
Tony
 
Hi Tony,

If this occurs even the .NET app is not running, I don't think this is
caused by .NET framework 2.0 or your app. If the other windows hang, I
suggest your try to launch the Task Manager to see if any process is
currently using the CPU. This might be caused by virus or you haven't
applied windows patches. You can try to update throught
www.windowsupdate.com.

HTH.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
 
hi, ok, we only post when we have throughtly trouble shooted these issues.
we are upto date, we've run multiple vendors virus scans, + root kit
detectors, spyware scanners etc etc, it's clean. and upto date
this problem only started after installing .net framework , have you thought
of the possiblity that our app might leak some resource when it exits it's
not cleaned up?
sometimes the window does not even load. and no the box is idle no other
processes are tasking up CPU. it's not slow to load it does not load.
any other ideas. i would happly open up process explorer and look at the
handle count but that's not it it's some "other" resource.

Tony
 
Hi Tony,

Does this only happens after you app is run? If you don't load your app,
will this also happen?

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
 
yeah, this only seems to happen after app load.
also we found the following http://support.microsoft.com/kb/q126962/ whilst
we are not getting this "out of memory" error changing the
2nd value (yyyy) to 8192 mitigated the issue.

my question is there must be some tool out there, that can show you what is
allocated in the "desktop heap", what items they are and who is using it,
then we can very quickly identify the real culprit here and move on.

Cheers
Tony
 
Hi Tony,

You can try to use the Performance Counter to check how much memory the app
has used.

Kevin Yu
Microsoft Online Community Support

============================================================================
==========================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
============================================================================
==========================

(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 
Back
Top