def METHOD_NAME(self, reason, job_id):
    # LSF will produce the following in the job output file:
    # TERM_MEMLIMIT: job killed after reaching LSF memory usage limit.
    # Exited with exit code 143.
    for line in reason.splitlines():
        if "TERM_MEMLIMIT" in line:
            return runner_states.MEMORY_LIMIT_REACHED
    return None