texmf.cnf. In my SuSE 8.1 distribution the
config file is located in /etc/texmf/texmf.cnf. Edit this
file, look for a constant called main_memory and enlarge its
value. I use main_memory = 800000. Save and run the
command texconfig init.