Skip to content
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

Memory Errors creating large populations of simulated transients #176

Open
BlueberryDolphin opened this issue Feb 3, 2020 · 0 comments
Open

Comments

@BlueberryDolphin
Copy link

BlueberryDolphin commented Feb 3, 2020

When using MOSFiT to create populations of many transients (~1000 events across 9 bands for 30 days/detections), walkers.json appears to be getting so large that it crashes out with a MemoryError. A possible fix could be to have MOSFiT write each realization to its own json file, and write them out one at a time so that the maximum size of a population isn't dictated by the amount of memory available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant