OutOfMemory Exception When Building

Oct 9, 2008 at 9:34 PM
I'm unable to get a solution to build with Sandcastle/DocProject.  In step 7, I get the "OutOfMemory" exception.  The assembly is small: 8 classes with less than 200 member total.  The machine has 2GB RAM.$0$0$0$0There are only about 50 compiler warnings, so I'm not running up against a limit there.$0$0$0$0$0Has anyone been able to resolve this issue without breaking down the assembly into smaller assemblies?$0
Oct 9, 2008 at 11:38 PM

Unfortunately it isn't clear why this exception occurs, although it seems to have something to do with the memory space of Visual Studio since building on the command-line using MSBuild or a build server such as Team Build often works.  You can also try the DocProject External UI instead of building inside VS.

Check out this thread over at the DocProject forum since it may contain additional suggestions:


- Dave