SHFB: Error BE0065: BUILD FAILED: Exception of type 'System.OutOfMemoryException' was thrown.

Jul 19, 2011 at 10:24 AM

I add a bigger Project here the Build Output:

Generating shared content files (en-US, English (United States))...

Last step completed in 00:00:00.1406

-------------------------------

Generating API filter for MRefBuilder...

Last step completed in 00:00:00.5156

-------------------------------

Generating reflection information...

[C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe]

MrefBuilder (v2.6.10621.1)

Copyright ¸ Microsoft 2006

Info: Loaded 77 assemblies for reflection and 144 dependency assemblies.

Info: Wrote information on 368 namespaces, 1853 types, and 12372 members

XslTransform (v2.6.10621.1)

Copyright ¸ Microsoft 2005-2006

Info: Applying XSL transformation 'C:\Programme\Sandcastle\ProductionTransforms\MergeDuplicates.xsl'.

reflection.all -> reflection.org

Last step completed in 00:09:14.1875

-------------------------------

Generating namespace summary information...

Last step completed in 00:00:06.4531

-------------------------------

Applying visibility properties to reflection information file

1474 attribute nodes removed

82 explicit interface implementations removed

2943 local and base class EII elements removed

Last step completed in 00:00:51.1250

-------------------------------

Transforming reflection output...

[C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe]

XslTransform (v2.6.10621.1)

Copyright ¸ Microsoft 2005-2006

Info: Applying XSL transformation 'C:\Programme\Sandcastle\ProductionTransforms\ApplyVSDocModel.xsl'.

reflection.org -> c:\Temp\tmp1190.tmp

Info: Applying XSL transformation 'C:\Programme\Sandcastle\ProductionTransforms\AddGuidFilenames.xsl'.

c:\Temp\tmp1190.tmp -> reflection.xml

XslTransform (v2.6.10621.1)

Copyright ¸ Microsoft 2005-2006

Info: Applying XSL transformation 'C:\Programme\Sandcastle\ProductionTransforms\ReflectionToManifest.xsl'.

reflection.xml -> manifest.xml

Last step completed in 00:07:11.6406

-------------------------------

SHFB: Error BE0065: BUILD FAILED: Exception of type 'System.OutOfMemoryException' was thrown.

 

Editor
Jul 19, 2011 at 9:04 PM

> Info: Loaded 77 assemblies for reflection and 144 dependency assemblies.
> Info: Wrote information on 368 namespaces, 1853 types, and 12372 members

Your project probably generates more reflection information than the XSL transformation tool can handle on the PC on which the build is occurring.  You'll need to create a separate project and move some of the assemblies to it for documenting.

Eric