Gunnar Peipman's ASP.NET blog

ASP.NET, C#, SharePoint, SQL Server and general software development topics.

Sponsors

News

 
 
 
DZone MVB

Links

Social

Please help - Visual Studio SharePoint development environment is very slow

I run SharePoint development environment on virtual machine. Virtual machine has 2GB RAM and 30GB disk space. Also I have no complaints over processor (I can run here two usual ASP.NET development virtual machines parallel). All other Visual Studio projects are working well except those that use VSeWSS 1.2. Hard performance problems occur usually at these moments:

  • when opening, modifying or saving aspx, ascx or xml files,
  • Visual Studio is doing something after building,
  • deployments are pretty slow.

Here is what I have installed:

  • SharePoint 2007 Standard,
  • Visual Studio Team System 2005,
  • Visual Studio Team System 2008,
  • .Net Framework 3.5.

These problems occur on both Visual Studio installations. I have no problems like these when I don’t use VSeWSS. Here’s screenshot of Task Manager. Check out what devenv.exe is doing.

Visual Studio / SharePoint resource problem

What may be the problem here?

Comments

Rastislav said:

I recommended upgrade disk storage from 1 SATA 7200 disk to two 10000 WD Velociraptor in stripped raid. Quad Core CPU is also vesy usefull :)

# February 20, 2009 9:33 AM

Rachit said:

Did you defrag the drive (in VMWare/MS VPC)? It may take a little time but it's worth it.

I've used InvirtusVMOptimizerPersonal and it's great.

# February 20, 2009 1:56 PM

Peter said:

Was it always this slow or did it just start?

# February 20, 2009 3:54 PM

Joe Chung said:

I don't think disk I/O is the problem, at least not according to the screenshot (96% CPU utilization).  Check the Event Viewer and look at SharePoint logs to see what's keeping it so busy.

# February 20, 2009 4:18 PM

DigiMortal said:

Peter, it happens at some moment when I'm using Visual Studio IDE. This is the main source of problem. SharePoint performance is not so hard to manipulate (unneeded timer jobs, changing log level etc).

# February 20, 2009 4:25 PM

Jeremy Thake said:

I have this problem if I boot my VMs whilst on my laptop off AC power...as it runs on balanced or power saver mode. Might want to check this.

Disk IO is another thing, I have my VMs on an external USB hard drive so that it's on a separate spindel to my host OS.

There's a page on the SharePointDevWiki.com that can assist you also. Might be worth a look. If you find anything else, the community would really appreciate your contributions to the wiki!

<a href="www.sharepointdevwiki.com/.../a>

# February 21, 2009 6:08 AM

Dizzy said:

I dont see Office in visual studio 2008, I want to develop approval workflow,

please help me

# February 25, 2009 2:41 AM

DigiMortal said:

I don't see SharePoint workflows in VS2008 either. I don't know what is the problem. In the same machine VS2005 works almost normally with workflows.

# February 27, 2009 7:10 AM