Re: Building docs needs an insane amount of RAM
Philipp Burch <[email protected]> Sat, 17 Feb 2018 20:51:47 +0100
| Newsgroups | gmane.comp.hardware.microcontrollers.ethernut |
|---|---|
| Message-ID | <[email protected]> |
On 14.02.2018 16:47, Uwe Bonnes wrote: >>>>>> "Philipp" == Philipp Burch <[email protected]> writes: > > Philipp> Hi everyone, I just wanted to rebuild the Ethernut source > Philipp> documentation to check some functions. But even with the 8GiB > Philipp> RAM plus 12GiB of swap space, it still runs out of memory. I > Philipp> suppose this is due to the large amount of vendor headers, > Philipp> especially for the STM32. Is there an easy way to exclude > Philipp> certain folders from the documentation generation process? > Philipp> Maybe this should be done for all vendor headers in general, as > Philipp> these probably do not offer much useful documentation when used > Philipp> in conjunction with Nut/OS anyway (which should hide the > Philipp> hardware details). > > Philipp, > > nut/doc/gen/nut_en.cfg contains some "EXCLUDE" statements. Perhaps adding > something like */arch/*/vendor/* or */vendor/* to "EXCLUDE_PATTERNS" will do > the job. > > Bye > Hi Uwe, thanks for the hint! That solved it and also brought down the whole folder size down from several Gigabytes to approx. 500MiB by excluding the graphs as well. Bye, Philipp _______________________________________________ http://lists.egnite.de/mailman/listinfo/en-nut-discussion