get_max_mem_size
get_max_mem_size(); - get the maximum amount of memory used by the program.
After testing, the function returns the result of its work to the script :
maximum memory size – the maximum memory that the program occupied after starting. (in bytes)