In a Python script, I want to set a memory limit for a certain function call. I looked at how to limit heap size; however, I don’t want to limit the memory of the entire running Python process — i.e. setting the memory limit before and after the function call. Is there any way to make a function call with