pcdshub / solid-attenuator

LCLS Solid Attenuator System IOC
https://pcdshub.github.io/solid-attenuator
Other
1 stars 4 forks source link

FIX: one leak mostly down #52

Closed klauer closed 3 years ago

klauer commented 3 years ago

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.