Set memory for compiler as otherwise it sometimes fails here