Catch memory over- and underruns