-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Potential memory leak of conda-forge slim 4.0.1 #404
Comments
There does appear to be a leak. Finding it is proving challenging. Stay tuned. |
Reaching out to the tskit folks for help with tskit-dev/tskit#2868. |
Thanks a lot for such as a deep-dive into the issue. I will follow up the discussion on the other side as well. 🙏 |
No worries. It's a bad bug, and might have gone unnoticed for quite a while if someone like you hadn't reported it. Thanks for the very useful bug report! |
OK, this has been fixed, mostly by updating the version of tskit inside SLiM, and also by fixing one 400-byte leak per reload inside SLiM's own code. Closing. |
I am trying to run forward simulation with SLiM 4.0.1. When I am testing on desktop (windows11), the following runs very well. But when I run it on Linux server via slim command line (installed from conda-forge), many of the simulations fail due to lack of memory even I allocate 50G RAM.
Typical error message:
My code below involves with many restarts because I want to condition on the establishment of selection. But I do not expect restart will cause a lot of amounts of memory increase. Could it be a bug causing memory leak?
Sorry for not providing of a minimal code snippet to reproduce the potential bug as I want to provide the complete script I am using.
The error should be reproducible by running
slim xxx_script.slim
given the conda-forge slim versionThe text was updated successfully, but these errors were encountered: