-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/06/2012 03:44 PM, Neck Acm wrote:
> Hi all, I am new to sphinx, I am trying to convert massive plain text files
> to well-organized html, not program documentation, just some plain text
> record.
> 
> The source text files is about 116 MB, I use `sphinx-quickstart` to create
> config file, `make html` to build, then `sphinx-build` start to consume
> lots of memory, eventually eats all my memory ( 1.5 GB ), returning
> MemoryError, abort the build process
> 
> I've tried to build with less files( 9.8 M ), sucessfully create beautiful
> html, means the config is fine, I also modified some option in conf.py
> like
> 
> html_domain_indices = False html_use_index = False primary_domain = 'None'
> 
> But still failed to build, and the output files are enormous big
> 
> Is there any way to reduce memory usage in building and the file size of
> output html ?

Hi,

the question is how you organized your files.  When you say "the output
files are enormous big", what exactly do you mean? Of course the HTML
will be bigger than the text file, due to added markup, but that should
not amount to more than, say, a factor of 3.

Are you by chance working with lots of "include" directives, making
one big document out of multiple files?

Georg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)

iEYEARECAAYFAk8HESgACgkQN9GcIYhpnLDGVwCfRb0L8nrz3rN+kpaIVFLGvq2x
xSMAn3dtBqZmnjP7Fz/Xo2blVovoVbxG
=1Tw/
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to sphinx-dev@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to