I was running arc lint --apply-patches --everything in rP and it eventually ran out of memory (my laptop has 8GB of RAM) and failed with:
Some linters failed: - ArcanistXHPASTLinter: Exception: Failed to proc_open(): proc_open(): fork failed - Cannot allocate memory - ArcanistPhutilXHPASTLinter: Exception: Failed to proc_open(): proc_open(): fork failed - Cannot allocate memory
This doesn't seem correct and I suspect that this is due to the way that the output is being rendered (since the output produced by arc lint seems to be buffered and output only once linting has completed).