glasgow-theme icon indicating copy to clipboard operation
glasgow-theme copied to clipboard

[allowframebreaks] causes memory leak

Open OliverFaust opened this issue 5 years ago • 2 comments

Dear Experts,

The following code:

\documentclass[10pt]{beamer}
\usetheme{glasgow}
\begin{document}
\begin{frame}[allowframebreaks]{Summary}
\end{frame}
\end{document}

causes a memory leak. That means the process will not stop until all system memory is exhausted. Without [allowframebreaks] the document is produced as expected. The code was executed with: lualatex -synctex=1 -interaction=nonstopmode --shell-escape "demoAllowFrameBreaks".tex

Any pointers on how to solve the problem would be greatly appreciated.

OliverFaust avatar Oct 15 '20 15:10 OliverFaust

Hmm, I've never tried running the template with lualatex. Have you tried with xelatex?

transientlunatic avatar Oct 15 '20 16:10 transientlunatic

There are two issues when using xelatex:

  1. FiraSans is not found
  2. TeX capacity exceeded, sorry [main memory size=5000000]. \end{frame}

Using LuaLaTeX solves the first error. The second issue seems to indicate a memory leak. With the solution, I follow Theo Pepler who suggests: Under the Build options, change Default Compiler to LuaLaTeX, and click OK. http://tpepler.github.io/howto/howto-install-glasgow-beamer-theme.html

OliverFaust avatar Oct 15 '20 18:10 OliverFaust