Limit memory and file size for sanity