# How to increase pool size for tex4ht

I have a large document, and after compilation using tex4ht I observed that output html file did not contain all text. Some sections were missed.

It seems to me that memory pool is not enough.

How can I increase memory pool for tex4ht to have all text in output file? Maybe there are some compilation arguments to configure this.

Or maybe anyone knows another decision.

EDITED:

From log file:

--- file applicationmanualch44.html --- ! TeX capacity exceeded, sorry [pool size=3176914].

You can increase the pool size with --pool-size=size option for LaTeX. You can pass LaTeX options as 5th parameter to htlatex script:
htlatex filename xhtml "" "" " --pool-size=5000000"

note that space after " is important!