[XeTeX] Running out of memory in XeSearch while trying to XeIndex on largish latex files.

Michael Joyner michael at newsrx.com
Thu Feb 10 02:46:30 CET 2011


On Wed, Feb 9, 2011 at 8:35 PM, Heiko Oberdiek <
heiko.oberdiek at googlemail.com> wrote:

> On Wed, Feb 09, 2011 at 02:52:01PM -0500, Michael Joyner wrote:
>
> > We are trying to use XeIndex/XeSearch on what we consider to be some
> > medium/small documents and are getting the following error:
> >
> > ! TeX capacity exceeded, sorry [save size=80000].
>
> Do you have the document inside a group?
>

I don't think I do...

Would loading XeSearch cause this to happen?


> Then local macro definition (labels, ...), changed counters, ...
> will occupy save positions.
>

Here is the start of the document:

\documentclass[12pt,oneside,english]{book}
> \usepackage{geometry}
>
> \geometry{verbose,letterpaper,tmargin=1in,bmargin=1in,lmargin=0.75in,rmargin=0.75in}
> \pagestyle{headings}
> \setcounter{secnumdepth}{3}
> \setcounter{tocdepth}{3}
> \usepackage{amsmath}
> \usepackage{makeidx}
> \makeindex
>
> \makeatletter
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
> %\usepackage{tocloft}
> %\usepackage{fancyhdr}
> %\usepackage{ifpdf}
> %\usepackage[unicode=true, pdfusetitle,
> bookmarks=true,bookmarksnumbered=false,bookmarksopen=true,bookmarksopenlevel=1,
> breaklinks=true,pdfborder={0 0 0},backref=false,colorlinks=false] {hyperref}
> %\renewcommand{\cftchapleader}{\cftdotfill{\cftsecdotsep}}
> %\cftsetindents{chapter}{0em}{3em}
> %\addtocontents{toc}
>
> %\usepackage{tocbibind}
>
> %\usepackage{fontspec}
> \usepackage{xunicode}
> \usepackage{xltxtra}
> %\setmainfont{Century Schoolbook L}
>
> %%not enough "save_memory" can be allocated!
> \usepackage{xeindex}
> \IndexList{mylist}{Cancer,Blood,Research,Institut?}
>
>
>
>
> \usepackage{babel}
> \makeatother
> \begin{document}
> \frontmatter\thispagestyle{empty}
>
>
> \title{Type 2 Diabetes for the Healthcare Professional, Volume II, Volume
> 2}
>
>
> \author{Published by:  Inform Editions}
>
>
> \date{02/09/2011}
>
> \maketitle
> \begin{center}
>
> \renewcommand\contentsname{Table of Contents}
>
> \tableofcontents{}
>
> \end{center}
>
> \mainmatter
>
> \begin{sloppy}
>
>
> \chapter{Surgery}
>
>
> \subsection*{\underbar{Allergan, Inc.}}
>
>
> \section*{FDA Advisory Committee Recommends Approval to Expand Use of
> LAP-BAND(R)
> Adjustable Gastric Banding System for Obese Adults}
>
>
> \paragraph*{   2010 DEC 22}
>
> -- Allergan, Inc. (NYSE: AGN) announced the U.S. Food and Drug
> Administration (FDA) Gastroenterology and Urology Devices Panel of the
> Medical Devices Advisory Committee has recommended with an 8-2 vote that the
> FDA extend the currently approved use of the LAP-BAND® System, Allergan's
> gastric band, on the basis of a favorable benefit-risk profile for weight
> reduction in obese adults who have failed more conservative weight reduction
> alternatives and have a Body Mass Index (BMI) of at least 35 or a BMI =30
> and at least one comorbid condition.
>


Here is the end of the document:

\subsection*{\underbar{College of Medicine, U.S.}}
>
>
> \section*{Research results from College of Medicine update understanding of
> diabetes}
>
>
> \paragraph*{  2010 SEP 30}
>

-- Fresh data on diabetes are presented in the report 'Elevated risk of type
> 2 diabetes and metabolic syndrome among Asians and south Asians: results
> from the 2004 New York City HANES.' According to a study from the United
> States, \char`\"{}Although numerous studies have identified an elevated risk
> of diabetes or impaired fasting glucose among Asians, there are limited data
> examining variability in risk among Asian subpopulations.  We estimated
> prevalence of diabetes (DM), metabolic syndrome (MS) and impaired fasting
> glucose (IFG), by race/ethnicity and by Asian subgroup.\char`\"{}
>
>
> \end{sloppy}
>
> \printindex{}
> \end{document}
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20110209/b9a7b90a/attachment-0001.html>


More information about the XeTeX mailing list