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

mosfit killed by OOM when doing final output and writes nothing to disk #227

Open
himisawww opened this issue Aug 24, 2023 · 1 comment
Open

Comments

@himisawww
Copy link

himisawww commented Aug 24, 2023

2023-08-24 074728

I guess it is trying to allocate massive memory (O(iterations*walkers)?) when doing output.

This should be avoided.

Also, it says 'All walkers written' but nothing is on disk. (files are all 0 bytes!)

@himisawww himisawww changed the title Waste 4 days to get killed when writing noting to disk. mosfit killed by OOM when doing final output and writes nothing to disk Aug 24, 2023
@mnicholl
Copy link
Collaborator

There are two things you can do to try to avoid this:

  1. Use the -M flag (see docs)
  2. Use the dynesty sampler, rather than emcee (provides well sampled posteriors without the need to store the chain)

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

2 participants