-
Notifications
You must be signed in to change notification settings - Fork 365
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sandcastle is running out of memory #1059
Comments
The x64 setting applies to the platform selected for the solution/project documentation sources. SHFB is itself 64-bit so no issues there. If you're building a Help 1 file though, that is the issue since the help 1 compiler is a 32-bit application so won't use all available memory. There's nothing SHFB can do about that. Switching to website or Open XML output for standalone help are the only alternatives. Although with that many topics, Open XML probably isn't a good solution so website is the better option assuming you can host it somewhere. |
Thanks a lot Eric. I was able to generate help using one of the 2 approaches you mentioned. |
can 64 bit of "help 1 compiler" be integrated with SHFB? I see many posting in web due to memory limit issue, integrating 64 bits of "help 1 compiler" will help a lot. Thanks |
As far as I know there is no 64-bit version of the help 1 compiler (part of the HTML Help Workshop). It's really old and 32-bit only. |
They're still the same 32-bit components so it likely won't make any difference. |
It could be a newer version might manage the memory better than an old one. This was the intension behind. And there is a 2GB and 4GB border in 32 bit. A vendor of a CAD application was able to switch from 2GB usage to 4GB of its 32 bit application with a compile setting. |
Hi There:
sandcastle is failing in the last steps ( CompilingHelpFile) because of no memory available error. I closed all other application, still getting same error, tried other things still fails. It might be that sandcastle is not able to process 130,255 generated html files when compiling help files. What can we do? My machine has 32GB physical memory, sandcastle process if hardly taking max ~5GB. I also tried x64 ( see the attached image), still fails. Your help is greatly appreciated. Thanks
........................
CompilingHelpFile
SHFB: Error BE0043: Unexpected error detected in last build step. See build log for details.
at SandcastleBuilder.Utils.BuildEngine.TaskRunner.Run(String processFilename, String targetFile, String arguments)
at SandcastleBuilder.Utils.BuildEngine.BuildProcess.Build()
pls see the attached image
The text was updated successfully, but these errors were encountered: