def METHOD_NAME(self):
    """
    This test suite tests exceeding memory.
    """
    self.mom.add_config({'$enforce mem': ''})
    self.mom.restart()
    a = {'Resource_List.walltime': 3600,
         'Resource_List.select': 'mem=1kb'}
    j = Job(TEST_USER, a)
    test = []
    test += ['#!/bin/bash']
    test += ['tail -c 100K /dev/zero']
    j.create_script(body=test)
    jid = self.server.submit(j)
    j_comment = '.* and exceeded resource mem'
    self.server.expect(JOB, {ATTR_state: "F",
                             ATTR_comment: (MATCH_RE, j_comment),
                             ATTR_exit_status: -27},
                       id=jid, extend='x')
    msg = 'Job exceeded resource mem'
    self.check_mail(jid, msg)