# How to increase the memory if I get this error TeX capacity exceeded

I am using the following codes to input DNA sequences from fasta format (177 sequences with 1140 base pair long) Using texshade package but I had the following error:

my system is: Windows 7 (64 bit)

! TeX capacity exceeded, sorry [save size=50000].


Dose anyone know how to resolve this problem and your help would be appreciated

\documentclass[12pt]{report}
\usepackage{lscape}
\usepackage[a4paper, top=2cm, bottom=2cm, left=.5cm, right=.5cm]{geometry}
\begin{document}

\threshold[80]{50}

\showruler{1}{top}
\hidenumbering


• I know next to nothing about the texshade package, but you have an unmatched brace in line 6; it should be \begin{texshade}{Concerted-evolution-2.fas}. – Paul Gessler Aug 24 '14 at 12:53
The manual (pdf) of texshade states on page 13 that a ! TeX capacity exceeded error might orccur. It also gives instructions on how to increasse the capacity. The only difference to your error is that it does not talk about save size, but about main memory size or stack size.
The principle of increasing the capacity should also work here. Instructions for increasing the save_size for TeXlive can be found in this answer.
• Unfortunately, I don't use MikTex, so I can only guess. The documentation says to run initexmf --edit-config-file=pdflatex on the command line to open the configuration file. If that works, try to find the line that starts with save_size and increase it to 80000. Otherwise add a new line at the end: save_size=80000. – justibus Aug 24 '14 at 18:23