# Server error compiling big documents, ShareLatex

I am trying to compile a large document with several chapters in ShareLatex. Each Chapter compiles correctly with minor (often unavoidable) errors but when I try to compile more than 2 chapters together I get the following error: Server error, Sorry, something went wrong and your project could not be compiled. Please try again in a few moments. Trying again later does nothing to rectify the issue. This is in draft mode as well so images are not the issue.

EDIT: MWE included

\documentclass[12pt, twoside]{report}
\usepackage[utf8]{inputenc}
\setlength{\parindent}{0pt}
\usepackage{parskip}
\usepackage{setspace}
\usepackage{array}
\doublespacing
\usepackage[a4paper, left=40mm, top=25mm, right=20mm, bottom=25mm]{geometry}
\usepackage{graphicx}
\graphicspath{{Images/}{../Images/}}
\usepackage[outdir=./]{epstopdf}
\usepackage{tabularx}
\usepackage{multirow}
\usepackage{arydshln}
\renewcommand{\arraystretch}{1.5}
\usepackage{rotating}
\usepackage{makecell}
\usepackage[justification=justified]{caption}
\usepackage{comment}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyfoot{}
\fancyfoot[RO,LE]{\thepage}
\usepackage[version=4]{mhchem} %for equations
\usepackage{chemnum}
\usepackage{xparse}
\NewDocumentCommand{\cecount}{ O{#2} m }{\ce{#2} (\cmpd{#1})}
\usepackage{etoolbox,calc}
\makeatletter
\makeatother
\usepackage[journal = angew]{chemstyle}
\usepackage{chemscheme}
\usepackage{siunitx}
\usepackage[backend = biber, style=chem-angew]{biblatex}

• The comment compiles correctly with minor (often unavoidable) errors is very suspicious, no tex errors are unavoidable, and given tex's error recovery strategies I would never use any pdf generated by a tex run that makes any error. But you have not said what errors you get or given any other indication of the problem. – David Carlisle Aug 30 '18 at 16:50