I have a relatively small asp.net web site project that I recently started using Telerik with.
It seems that since I introduced telerik into the project, every hour or so my VS 2008 will fail to build the website part of the solution, with the error:
Validating Web Site
(0): Build (web): Exception of type 'System.OutOfMemoryException' was thrown.
Closing and restarting VS fixes this issue.
Does anyone have any idea why this would be happening?
4 Answers, 1 is accepted
Please, take a look at the following blog post that clarifies the issue:
Greetings,Tsvetoslav
the Telerik team
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.

However, I don't think this addresses my situation. My solution is quite small, only 4 projects, and right now I'm getting the error:
Error 33 Exception of type 'System.OutOfMemoryException' was thrown.
when I try to build, but devenv is only using 540MB of RAM.
I don't think allowing dev env to use over 2GB of RAM will help my situation as I have never seen devenv over 800 MB of ram.
On this same laptop I work with some much much largers solutions: 40 projects (and much larger projects at that) but the project that is breaking on build is the only one using telerik controls.
I have also noticed that before I start getting the build errors, I will start to have telerik controls stop working in the designer. All the other regular asp.net controls continue to work.
This is a web *site* project that is failing to build, which is also something different from most of my other projects, which use web *application* projets.
Here is an example of my build output when I try to rebuild the web site:
------ Build started: Project: DataAccess, Configuration: Debug Any CPU ------
DataAccess -> C:\data\MSI\DataAccess\bin\Debug\DataAccess.dll
------ Build started: Project: Csla, Configuration: Debug Any CPU ------
Csla -> C:\apps\CSLA\CSLA 3.7\cslacs-3.7.1-090928\cslacs\Csla\bin\Debug\Csla.dll
------ Build started: Project: MsiBOL, Configuration: Debug Any CPU ------
MsiBOL -> C:\data\MSI\MsiBOL\bin\Debug\MsiBOL.dll
------ Build started: Project: C:\...\NewWebApp\, Configuration: Debug Any CPU ------
Validating Web Site
Building directory '/NewWebApp/App_Code/'.
(0): Build (web): Exception of type 'System.OutOfMemoryException' was thrown.
Validation Complete
========== Build: 3 succeeded or up-to-date, 1 failed, 0 skipped ==========
Any ideas?
I understand that you are getting the error with our controls only, however, this is a Visual Studio related issue and depends on many factors such as refactoring tools installed (Resharper, JustCode) and other add-ons, etc.
All the best,Tsvetoslav
the Telerik team
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
