Error occured running test. Exception of type "System.OutOfMemoryException" was thrown.

by XDK 15. May 2013 13:38

Solution

 

Tags:

Web Performance & Load Tests

First step to recover from VS – TFS performance issues

by XDK 6. February 2013 07:07

Explanation:

Perform the following cache clean steps when you see VS – TFS performance issues

Solution:

TFS client cache clean up steps:

  • Close all Visual Studio IDE instances
  • Close browser or excel instances connected to TFS  
  • For Windows XP, delete all content under:

                C:\Documents and Settings\[USER]\Local Settings\Application Data\Microsoft\Team Foundation\

  • For Windows 7 or newer, delete all content under:

                C:\Users\[User]\AppData\Local\Microsoft\Team Foundation\

Tags:

Azure DevOps on-premises | Visual Studio 2010 | Visual Studio 2012 | Visual Studio 2013

TFS Date & Time field

by XDK 3. February 2013 19:09

Explanation:

TFS store date & time as the UTC time in DB to work across the regions. Visual Studio will translate the date to the time zone of the client but Web Access follows the server time zone setting by default

 

Tags:

Azure DevOps on-premises

The performance counter category ‘Memory’ cannot be accessed on computer ‘COMPUTER1’ (Timed out trying to read performance counter category ‘Memory’ on computer ‘COMPUTER01’); check that the category and computer names are correct.

by XDK 15. January 2013 11:59

Solution

Performance Monitor Security settings

The test controller account must be in the Performance Monitor Users group of all machines performance data will be read from. User who is trying to access performance data (locally/remotely) should be part of  ”Performance Monitor Users” and “Performance Log Users”. If there are not much security concerns make the user part of Local “Administrators” group which will ensure full access on the machine.

Load test timeout settings
 
If permission levels are all fine. But still you are still running into the same issue. That means you have to set load test’s performance counter initialization time out settings. But where to do that? as there is no provision to do it though VS IDE. For that you have to do some manual configurations in load test’s hosting process’s configuration file. Now this configuration file is different for VS 2008 and VS 2010. Following are the details on that.
 
For Visual Studio 2008, open the file VSTestHost.exe.config in the folder C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE
OR
For Visual Studio 2010, open the file Devenv.exe.config in the folder C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE
AND then add following entries to it. That will solve the timout issue.
 
<appSettings>
      <add key=”LoadTestCounterCategoryReadTimeout” value=”60000″/>
      <add key=”LoadTestCounterCategoryExistsTimeout” value=”60000″/>
 </appSettings>

Tags:

Web Performance & Load Tests

A hotfix that can reduce the size of the test data saved to the TFS database

by XDK 17. December 2012 19:16

Tags: ,

TFS 2010

About the author

My name is Xavier Dilip Kumar Jayaraj having 16+ years of IT experience which includes solid experience and depth Knowledge in Application Life Cycle Management, Configuration Management, Implementation and Support using TFS on-premises and Azure DevOps. I have invested in gaining DevOps knowledege to expertise with Cloud Computing providers namely Microsoft Azure and Amazon Web Services in recent years. I am very positive to learn and adapt emerging technologies to client’s environment.

Microsoft Certified: Azure Administrator Associate

Microsoft Certified: Azure DevOps Engineer Expert

DevOps Engineer Certificate Program | Transcript 

OTP-AWSD5: AWS IoT: Developing and Deploying an Internet of Things

[PCEP-30-01] PCEP – Certified Entry-Level Python Programmer

Quotes I Like

"Failure will never overtake me if my determination to succeed is strong enough."  - Dr. APJ. Abdul Kalam

"Always be yourself, express yourself, have faith in yourself, do not go out and look for a successful personality and duplicate it." - Bruce Lee

"Technology is just a tool. In terms of getting the kids working together and motivating them, the teacher is the most important." - Bill Gates

"Innovation distinguishes between a leader and a follower." - Steve Jobs

CategoryList

Disclaimer

The information provided here is based on my expreriences, troubleshooting and online/offline findings. It can be used as is on your own risk without any warranties and I impose no rights.