[Doxygen-develop] Re: Doxygen-develop digest, Vol 1 #160 - 1 msg
Brought to you by:
dimitri
From: Paco H. <pa...@pa...> - 2002-11-21 17:11:22
|
Quoting Simon Goodwin <sim...@at...>: > On the Doxygen-develop mailing list you wrote: >> On an unrelated note, if any of you ever try to create PDF from doxygen on >> the scale I'm talking about, you'll hit some serious limits in how many >> hyperlinks pdflatex can grok in a single document. I have solved this >> problem using the teTeX distribution and a customized texmf.cnf. >> I'd be happy to share this with anyone who has the same problems. > > Yes please! > [... snip ...] > > There is a file `texmf.cnf` in c:/cygwin/usr/share/texmf/web2c which sets a > load of limits on TeX memory gobbling. These cause problems when > handling big files, and the partial cure is to increase values in there. > Not being Knuth (and being lazy) I just bopped an extra zero onto the > end of the following lines: > > pool_size.context = 7500000 > pool_size = 1250000 > [...] > % Maximum number of strings. > max_strings.context = 550000 > max_strings = 150000 > > This worked for larger files but not for the documentation for our > whole game engine - so if there's another limit you know how to fix > that's be very useful. As far as I can tell, the really really important one is this: dest_names_size=300000 The reason I say it is important is that I got a little more slap-happy in adjusting the memory limits in that file. I changed all kinds of things and still ran out of "destinations." As far as I can tell, the dest_names_size starts of at 20000, and it has an impact on how many hyperlinks you can have in a file. As you know, doxygen generates an amazing amount of hyperlinks. It doesn't have a default value in that file, so it's kind of a stealth option. It doesn't appear on many searchable web pages, either, so finding it via google was quite difficult. Here are all the other values I changed from the defaults. main_memory.context = 4000000 main_memory = 2000000 extra_mem_top = 21000 extra_mem_bot = 21000 obj_tab_size = 256000 hash_extra.context = 45000 hash_extra = 40000 pool_size.context = 7500000 pool_size = 2250000 string_vacancies.context = 65000 string_vacancies = 65000 max_strings.context = 85000 max_strings = 85000 pool_free.context = 100000 pool_free = 21000 dest_names_size=300000 trie_size = 30000 save_size.context = 10000 save_size = 20000 stack_size.context = 3000 stack_size = 3000 ocp_buf_size = 40000 ocp_stack_size = 40000 > P.S. I've built 1.3 candidate 1, but it bombs with a zero dereference > on my (Win2K) machine when I give it a substantial file to generate. I'm building under Win98 (ugh). I have cygwin 1.3.13-2 (according to 'cygcheck -s'). > Have you seen that? No. I did: ./configure --english-only --prefix /usr/local -platform win32-g++ And it built out of the box and ran just fine the first time. Paco -- pa...@pa... http://paco.to/ |