'Validate and parse the mem_limit portion of an application
configuration.
:param unicode application: The name of the application this config
is mapped to.
:param int limit: The parsed configuration value for mem_limit.
:raises ConfigurationError: if the mem_limit config is not an int.
:returns: An ``int`` representing the memory limit in bytes.'

def _parse_mem_limit(self, application, limit):

    _check_type(value=limit, types=(int,), description=u'mem_limit    must    be    an    integer', application_name=application)
    return limit
