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

RIVET Crashes on Relatively Small Examples for H0 with light binning. #76

Closed
mlesnick opened this issue Dec 31, 2016 · 3 comments
Closed

Comments

@mlesnick
Copy link
Contributor

mlesnick commented Dec 31, 2016

This is known to be a issue with memory the efficiency of the code that builds the path through the arrangement. It impacts performance on uncoarsened or very lightly coarsened examples. For example 50x50 grids are not a problem, in our experience, but 100x100 can be.

For example, I tried to use RIVET on the Senate data (attached) for H0 with no binning, and with a 32x200 grid, on OS X with 16GB of RAM. This crashes with Killed: 9
as the path is constructed. With a 150x32 grid, the computation finishes.

@mlesnick
Copy link
Contributor Author

Original comment by M L (GitHub: mlesnick):


Bryn confirms that he saw the same crash for 200x200. (Not surprising since we are using the same type of Mac Laptop.)

@mlesnick mlesnick changed the title Can we use RIVET for H0 with no binning (Possible Bug) RIVET Crashes on Relatively Small Examples for H0 with no binning (Possible Bug / Inefficiency) May 8, 2017
@mlesnick mlesnick changed the title RIVET Crashes on Relatively Small Examples for H0 with no binning (Possible Bug / Inefficiency) RIVET Crashes on Relatively Small Examples for H0 with no binning (Likely Inefficiency) May 8, 2017
@mlesnick mlesnick changed the title RIVET Crashes on Relatively Small Examples for H0 with no binning (Likely Inefficiency) RIVET Crashes on Relatively Small Examples for H0 with no binning (Possible Inefficiency) May 8, 2017
@mlesnick mlesnick changed the title RIVET Crashes on Relatively Small Examples for H0 with no binning (Possible Inefficiency) RIVET Crashes on Relatively Small Examples for H0 with light binning (Possible Inefficiency) May 8, 2017
@mlesnick mlesnick changed the title RIVET Crashes on Relatively Small Examples for H0 with light binning (Possible Inefficiency) RIVET Crashes on Relatively Small Examples for H0 with light binning (Likely Inefficiency) May 8, 2017
@mlesnick mlesnick changed the title RIVET Crashes on Relatively Small Examples for H0 with light binning (Likely Inefficiency) RIVET Crashes on Relatively Small Examples for H0 with light binning. Apr 12, 2018
@mlesnick
Copy link
Contributor Author

mlesnick commented Apr 19, 2018

I've fixed this in my fork. I'm planning to do a pull request soon. My fix addresses the memory issue in the path building code in arrangement_builder.cpp, and polishes a number of other things there. However, this code could use some more cleanup; see the todos in the code.

@mlesnick
Copy link
Contributor Author

The fix described above is now merged.

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

No branches or pull requests

1 participant