Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Visual Studio Freesing problem

Status
Not open for further replies.

arrian

Programmer
Nov 11, 2003
93
CA
I'm having a VERY unusual problem here. I can compile and run a program, and even debug it, but when the program ends, Visual Studio takes 100% CPU and freeses up. This makes it very dificult to actually fix any bugs I find, as I'm sure you all can understand. I'm hoping that someone here might have a solution to this problem?
 
check the dispose functions for your classes, make sure there is nothing weird going on. Do you have anything massive in memory? Using any non-framework libraries? COM libraries? 3rd party tools?

-Rick

VB.Net Forum forum796 forum855 ASP.NET Forum
[monkey]I believe in killer coding ninja monkeys.[monkey]
 
Check Perfmon to see what your memory consumption is like. There are many .NET specific counters you can look at -- you should start with the GC generation 2 value.

Chip H.


____________________________________________________________________
Donate to Katrina relief:
If you want to get the best response to a question, please read FAQ222-2244 first
 
This has just happened out of the blue. I've been working on this exact program for about 2 months now, and never had a problem. The closest thing to a 3rd party app that I'm running in the program is the a C1 Flexgrid. Nothing out of the ordinary in the task manager, either. As for the dispose functions, I've never touched them, so they should be working just fine, shouldn't they? And this happens even if I click the Stop button in Visual Studio. I'm running the VB .NET environment.
 
When was the last time you rebooted? Sometimes if I get too much loaded in memory (read: cartesian join in SQL Advantage) VS.Net starts doing things like this. Usually, a full power down and reboot solves that though.

-Rick

VB.Net Forum forum796 forum855 ASP.NET Forum
[monkey]I believe in killer coding ninja monkeys.[monkey]
 
This has been happening the past couple days. I've rebooted several times. Not sure what is going on with this, though... It may be something related to the PC, though, so I'm going to try the code elsewhere.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top