OutOfMemoryException?

Topics: Developer Forum
Mar 30, 2009 at 10:06 PM
Hey Eric,

I'm seeing the build output below. Any idea what's up with this? I would expect slow execution and high paging rates (I've only got 2gb and am working with large libraries), but simply failing because of a memory shortage? Is this a system / OS problem, or Sandcastle?

Transforming reflection output...

[C:\Windows\Microsoft.NET\Framework\v3.5\MSBuild.exe]

TransformManifest:

XslTransform (v2.4.10520.1)

Copyright c Microsoft 2005-2006

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

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

 

Unhandled Exception: OutOfMemoryException.

C:\Program Files\EWSoftware\Sandcastle Help File Builder\Working3\TransformManifest.proj(28,5): error MSB6006: "XslTransform.exe" exited with code -532459699.

Last step completed in 00:05:53.3734

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

SHFB: Error BE0043: Unexpected error detected in last build step. See output above for details.

Coordinator
Mar 31, 2009 at 1:17 AM
I haven't seen XslTransform fail before due to an out of memory exception but I suppose it's possible.  If you're documenting multiple assemblies, you may need to split them up to reduce the size of the information produced.

Eric