This is more of a matplotlib problem than pyDARN, but it looks like it was very easy to get a substantial memory leak if generating lots of pyDARN plots on a mac without changing the default matplotlib backend, if not using matplotlib version 3.8.0 or above.
BUG
This is more of a matplotlib problem than pyDARN, but it looks like it was very easy to get a substantial memory leak if generating lots of pyDARN plots on a mac without changing the default matplotlib backend, if not using matplotlib version 3.8.0 or above.
More discussion here:
https://github.com/matplotlib/matplotlib/pull/23059
and here: https://github.com/matplotlib/matplotlib/issues/19769/
If an older matplotlib version is required for some reason, you can do:
Priority