This project has moved and is read-only. For the latest updates, please go here.

BuildAssembler: OutOfMemoryException

Topics: User Forum
Dec 19, 2008 at 7:57 PM

While running Sandcastle Help File Builder, I get an OutOfMemoryException
Info: BuildAssembler: Building topic AllMembers.T:Crownwood.DotNetMagic.Controls.TabControlDesigner
Unhandled Exception: OutOfMemoryException.
Last step completed in 00:06:55.6090
BUILD FAILED: Unexpected error in last build step. See output above for details.

Jeff in Seattle
Dec 19, 2008 at 9:28 PM
If you're building from the GUI, go into the User Preferences and turn off the "Build window verbose logging enabled" option.  For large projects, the textbox control used to show the output during the build can consume a lot of memory and turning off that option prevents it from happening.

Also, be sure that you haven't added unnecessary assemblies to the list to be documented.  If it's just a referenced assembly (one your project uses but that you don't want to document), be sure you add it to the project's Dependencies property rather than the Assemblies to Document list.  That reduces the amount of info Sandcastle has to document and saves you from removing its members from the help file via the API Filter.