# error tex capacity exceeded [duplicate]

This question already has an answer here:

I am having a hard time understanding what is wrong with the code below. When I run it in tex, I get an error input limit exceeded. The exact error is pasted below:

I am using texmaker to run the code.

\documentclass[a4paper,12pt]{article} %{scrartcl}

\usepackage{filecontents}
\begin{filecontents*}{Bibliografy.bib}
@misc{wikipedia1,
title = "Scripting language",
author = "Wikipedia",
url = {http://en.wikipedia.org/wiki/Scripting_language},
year = 2014,
}
\end{filecontents*}

\usepackage[numbers]{natbib}
\usepackage{url}

\begin{document}
\cite{wikipedia1}
\bibliographystyle{plainnat}
%\bibliography{Bibliografy}
\end{document}


## marked as duplicate by David Carlisle, Stefan Pinnow, Martin Schröder, Mico, Henri MenkeJan 26 '17 at 8:48

• Strange. I was able to compile your MWE. Even if I cut out the \usepackage{filecontents} and put in the \bibliography-command. Could you please add some more info. Is this MWE really throwing an error for you? If so, please, include the error message as quote. – Jan Jan 26 '17 at 7:10