Ironically (?) making an additional copy reduces leaked memory significantly. I believe this is due to Python holding on to the full numpy arrays (using views for the Config values instead of copies).
I still see a small periodic leak as calculations are performed. It's a much smaller amount and more difficult to track down.
Addresses #48
Ironically (?) making an additional copy reduces leaked memory significantly. I believe this is due to Python holding on to the full numpy arrays (using views for the
Config
values instead of copies).I still see a small periodic leak as calculations are performed. It's a much smaller amount and more difficult to track down.