USEPA / pybeepop

EPA's Python wrapper for the EPA/USDA honey bee colony model BeePop+
https://usepa.github.io/pybeepop/
MIT License
1 stars 0 forks source link

Memory usage increases with repeated runs #2

Open JeffreyMinucci opened 4 months ago

JeffreyMinucci commented 4 months ago

When doing repeated runs, memory use by the thread slowly increases, suggesting a memory leak. Currently if performing many thousands of runs it is recommended to restart the python process periodically to avoid running out of memory.

Most likely, BeePop+ needs to implement a function to properly free memory allocated to objects passed from the wrapper to the c++ interface.