With the following code:
def c (d):
pass
def a(b):
c#( # Adding/removing this "(" causes memory usage to spike.
return None
From my testing (which is a bit shaky due to the nature of the bug):
- The c function needs to be defined, and needs to have a parameter.
- The a function needs to return something.