Warning, file /pilot2/pilot/user/generic/memory.py was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 def allow_memory_usage_verifications():
0012 """
0013 Should memory usage verifications be performed?
0014
0015 :return: boolean.
0016 """
0017
0018 return False
0019
0020
0021 def memory_usage(job):
0022 """
0023 Perform memory usage verification.
0024
0025 :param job: job object
0026 :return: exit code (int), diagnostics (string).
0027 """
0028
0029 exit_code = 0
0030 diagnostics = ""
0031
0032 return exit_code, diagnostics