def getHumanReadableProcessMemoryUsage(value=None):
    if (value is None):
        value = getOwnProcessMemoryUsage()
    if (abs(value) < (1024 * 1014)):
        return ('%.2f KB (%d bytes)' % ((value / 1024.0), value))
    elif (abs(value) < ((1024 * 1014) * 1024)):
        return ('%.2f MB (%d bytes)' % ((value / (1024 * 1024.0)), value))
    elif (abs(value) < (((1024 * 1014) * 1024) * 1024)):
        return ('%.2f GB (%d bytes)' % ((value / ((1024 * 1024) * 1024.0)), value))
    else:
        return ('%d bytes' % value)
def getHumanReadableProcessMemoryUsage(value=None):
    if (value is None):
        value = getOwnProcessMemoryUsage()
    if (abs(value) < (1024 * 1014)):
        return ('%.2f KB (%d bytes)' % ((value / 1024.0), value))
    elif (abs(value) < ((1024 * 1014) * 1024)):
        return ('%.2f MB (%d bytes)' % ((value / (1024 * 1024.0)), value))
    elif (abs(value) < (((1024 * 1014) * 1024) * 1024)):
        return ('%.2f GB (%d bytes)' % ((value / ((1024 * 1024) * 1024.0)), value))
    else:
        return ('%d bytes' % value)